fix typing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="emphased">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user