fix: round average satisfaction
This commit is contained in:
parent
9cbcd25ff2
commit
e453fcaf3b
|
|
@ -17,7 +17,9 @@ const props = defineProps<{
|
|||
<div class="flex h-16 w-32 items-center justify-center rounded bg-green-500">
|
||||
<i18next :translation="$t('a.{AVG} von {MAX}')">
|
||||
<template #AVG>
|
||||
<span class="pr-2 text-4xl font-bold">{{ props.statisfactionAvg }}</span>
|
||||
<span class="pr-2 text-4xl font-bold">
|
||||
{{ props.statisfactionAvg.toFixed(1) }}
|
||||
</span>
|
||||
</template>
|
||||
<template #MAX>
|
||||
<span class="pl-1 text-sm">{{ props.statisfactionMax }}</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue