fix: แก้การแสดง i18n

This commit is contained in:
Net 2024-06-17 15:44:36 +07:00
parent abc052f71f
commit 4171960e9b

View file

@ -55,7 +55,13 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
:class="{ 'dark-text': $q.dark.isActive }"
:style="`color: ${customerLabel === 'CORP' ? 'var(--purple-8)' : 'var(--green-9)'} `"
>
{{ $t(customerLabel) }}
{{
$t(
customerLabel === 'CORP'
? 'customerLegalEntity'
: 'customerNaturalPerson',
)
}}
</text>
</text>