Web: fix JavaScript issue that only pops up in production

Fix an issue ("`this` is undefined) that only pops up when serving the
static files from `yarn build`, and not when using the Vite devserver.
This commit is contained in:
Sybren A. Stüvel 2022-06-28 10:47:16 +02:00
parent e9bc55cfc8
commit 6d9e5d5299

@ -23,7 +23,7 @@ const visibleStatuses = computed(() => {
:data-status="status"
:class="{active: activeStatuses.indexOf(status) >= 0}"
@click="emit('click', status)"
v-html="indicator(status, this.classPrefix)"
v-html="indicator(status, classPrefix)"
></li>
</ul>
</template>