fix translation switching close #47 close #46

This commit is contained in:
Adrian Zürcher
2026-02-13 12:28:26 +01:00
parent 0026f68320
commit 55b6305a5e
2 changed files with 13 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
<q-item dense>
<q-item-section>
<q-item-label class="text-bold text-primary text-center">
{{ opt.name }}
{{ $t(opt.name) }}
</q-item-label>
</q-item-section>
</q-item>
@@ -46,7 +46,7 @@ import type { PropType } from 'vue';
const props = defineProps({
amounts: {
type: Object as PropType<Amount[]>,
type: Array as PropType<Amount[]>,
required: true,
},
});