feat: #6943 apply color based on condition
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
df662f1dce
commit
367343d2a8
|
@ -111,7 +111,12 @@ const debtWarning = computed(() => {
|
||||||
<QTooltip>{{ t('customer.card.webAccountInactive') }}</QTooltip>
|
<QTooltip>{{ t('customer.card.webAccountInactive') }}</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
|
|
||||||
<QIcon name="vn:risk" size="xs" :color="debtWarning">
|
<QIcon
|
||||||
|
v-if="customer.debt > customer.credit"
|
||||||
|
name="vn:risk"
|
||||||
|
size="xs"
|
||||||
|
:color="debtWarning"
|
||||||
|
>
|
||||||
<QTooltip>{{ t('customer.card.hasDebt') }}</QTooltip>
|
<QTooltip>{{ t('customer.card.hasDebt') }}</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
<QIcon
|
<QIcon
|
||||||
|
|
Loading…
Reference in New Issue