fix: drawer menu dark mode, rearrange

This commit is contained in:
puriphatt 2024-10-31 18:18:29 +07:00
parent 05c1c07384
commit 13bf8e9ee0

View file

@ -128,9 +128,9 @@ onMounted(async () => {
? false
: true,
},
{ label: 'workflow', route: '/workflow' },
{ label: 'productService', route: '/product-service' },
{ label: 'document', route: '/document-management' },
{ label: 'workflow', route: '/workflow' },
{ label: 'customer', route: '/customer-management' },
],
},
@ -242,7 +242,12 @@ onMounted(async () => {
style="font-size: 24px"
/>
<Icon v-else :icon="menu.icon || ''" width="24px" />
<span v-if="!mini" class="q-pl-sm" style="white-space: nowrap">
<span
v-if="!mini"
class="q-pl-sm"
style="white-space: nowrap"
:style="!menuActive[i] && `color: var(--foreground)`"
>
{{ $t(`${menu.label}.title`) }}
</span>
<q-tooltip :delay="500">