refactor: Add display conditions

This commit is contained in:
Net 2024-08-19 13:16:39 +07:00
parent f2cb7fcd5a
commit 98b2501ea7

View file

@ -52,6 +52,10 @@ const prop = withDefaults(
:props="props"
>
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span v-if="col.label === 'nameEmployee'">
{{ $t('fullname') }}
</span>
<span v-if="col.label !== ''">
{{ $t(col.label) }}
</span>