fix typing

This commit is contained in:
2025-06-01 11:50:32 +02:00
parent 87865871df
commit 3a2b20a4c4
+1 -1
View File
@@ -1,7 +1,7 @@
<template> <template>
<div class="emphased"> <div class="emphased">
<div v-for="(amount, val) in filtered_results" :id="`${questionId}-${val}`" :key="val" <div v-for="(amount, val) in filtered_results" :id="`${questionId}-${val}`" :key="val"
:style="{ width: `${(amount / total) * 100}%`, background: colors[values.indexOf(val)] }"> :style="{ width: `${(amount / total) * 100}%`, background: colors[values.indexOf(String(val))] }">
<span>({{ amount }}){{ val }}</span> <span>({{ amount }}){{ val }}</span>
</div> </div>
</div> </div>