refactor: #245 handle i18n
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
1249f67a0f
commit
6cf8cf28aa
1 changed files with 10 additions and 2 deletions
|
|
@ -595,10 +595,18 @@ watch(
|
||||||
></q-badge>
|
></q-badge>
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
<span class="text-weight-bold column q-pl-md">
|
<span class="text-weight-bold column q-pl-md">
|
||||||
{{ props.row.name }}
|
{{
|
||||||
|
$i18n.locale === 'tha'
|
||||||
|
? props.row.name
|
||||||
|
: props.row.nameEN
|
||||||
|
}}
|
||||||
|
|
||||||
<span class="text-caption app-text-muted-2">
|
<span class="text-caption app-text-muted-2">
|
||||||
{{ props.row.nameEN }}
|
{{
|
||||||
|
$i18n.locale === 'tha'
|
||||||
|
? props.row.nameEN
|
||||||
|
: props.row.name
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<nav
|
<nav
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue