Add condition to packing and grouping badge colors
This commit is contained in:
parent
72ad524c68
commit
120e84f439
|
@ -250,7 +250,11 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
</template>
|
||||
<template #body-cell-packing="{ row }">
|
||||
<QTd @click.stop>
|
||||
<QBadge class="center-content" rounded color="grey-13">
|
||||
<QBadge
|
||||
class="center-content"
|
||||
rounded
|
||||
:color="row.groupingMode == 'packing' ? 'grey-13' : 'black'"
|
||||
>
|
||||
{{ dashIfEmpty(row.packing) }}
|
||||
<QTooltip>{{ t('lastEntries.packing') }}</QTooltip>
|
||||
</QBadge>
|
||||
|
@ -258,7 +262,11 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
</template>
|
||||
<template #body-cell-grouping="{ row }">
|
||||
<QTd @click.stop>
|
||||
<QBadge class="center-content" rounded color="black">
|
||||
<QBadge
|
||||
class="center-content"
|
||||
rounded
|
||||
:color="row.groupingMode == 'grouping' ? 'grey-13' : 'black'"
|
||||
>
|
||||
{{ dashIfEmpty(row.grouping) }}
|
||||
<QTooltip>{{ t('lastEntries.grouping') }}</QTooltip>
|
||||
</QBadge>
|
||||
|
|
Loading…
Reference in New Issue