fix: handle customer business type in table
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
puriphatt 2025-07-21 09:53:31 +07:00
parent d60f858582
commit 8ca3f784f1

View file

@ -1266,15 +1266,19 @@ const emptyCreateDialog = ref(false);
class="ellipsis"
>
{{
props.row.branch[0].businessType[
$i18n.locale === 'eng' ? 'nameEN' : 'name'
]
props.row.branch[0].businessType
? props.row.branch[0].businessType[
$i18n.locale === 'eng' ? 'nameEN' : 'name'
]
: '-'
}}
<q-tooltip>
{{
props.row.branch[0].businessType[
$i18n.locale === 'eng' ? 'nameEN' : 'name'
]
props.row.branch[0].businessType
? props.row.branch[0].businessType[
$i18n.locale === 'eng' ? 'nameEN' : 'name'
]
: '-'
}}
</q-tooltip>
</q-td>