fix: state cell

This commit is contained in:
Javier Segarra 2024-09-09 13:15:37 +02:00
parent 9be8accb27
commit 7bc288ad71
1 changed files with 2 additions and 0 deletions

View File

@ -635,6 +635,7 @@ onMounted(async () => {
<template #body-cell-state="{ row }"> <template #body-cell-state="{ row }">
<QTd> <QTd>
<QBadge <QBadge
v-if="row.state"
text-color="black" text-color="black"
:color="row.classColor" :color="row.classColor"
class="q-ma-none" class="q-ma-none"
@ -642,6 +643,7 @@ onMounted(async () => {
> >
{{ row.state }} {{ row.state }}
</QBadge> </QBadge>
<span v-else> {{ dashIfEmpty(row.state) }}</span>
</QTd> </QTd>
</template> </template>
<template #body-cell-import="{ row }"> <template #body-cell-import="{ row }">