fix: แก้การเเสดง ภาษา

This commit is contained in:
Net 2024-04-22 14:19:35 +07:00
parent 2c8e42aaa5
commit 89ad46a710
2 changed files with 26 additions and 10 deletions

View file

@ -382,7 +382,7 @@ watch(locale, () => {
</div>
<AppBox bordered class="q-mb-md">
<StatCard :branch="stats" :dark="$q.dark.isActive" />
<StatCard isBranch :branch="stats" :dark="$q.dark.isActive" />
</AppBox>
<AppBox
@ -763,7 +763,15 @@ watch(locale, () => {
v.isHeadOffice ? 'branchHQLabel' : 'branchLabel',
),
branchLabelStatus: $t(`status${v.status}`),
}))"
}))
.sort((a, b) => {
console.log(a);
if (a.hq) return 1;
// if (!a.hq) return -1;
return 0;
})"
@click="
() => {
if (item.hq) {