Merge branch 'dev/phatt' into develop

This commit is contained in:
puriphatt 2024-04-24 02:39:17 +00:00
commit 0eda152c0c

View file

@ -95,17 +95,13 @@ const customerStats = [
{ {
id: 1, id: 1,
count: 2, count: 2,
name: 'นายจ้าง 1', name: 'customerLegalEntity',
nameEN: 'Employer 1',
isEmployer: true,
}, },
{ {
id: 2, id: 2,
count: 3, count: 3,
name: 'นายจ้าง 2', name: 'customerNaturalPerson',
nameEN: 'Employer 2',
isEmployer: true,
}, },
]; ];
@ -172,8 +168,8 @@ function onClose() {
:branch=" :branch="
customerStats.map((v) => ({ customerStats.map((v) => ({
count: v.count, count: v.count,
label: $i18n.locale === 'en-US' ? v.nameEN : v.name, label: v.name,
color: v.isEmployer ? 'pink' : 'purple', color: v.name === 'customerLegalEntity' ? 'purple' : 'green',
})) }))
" "
:dark="$q.dark.isActive" :dark="$q.dark.isActive"