forked from verdnatura/salix-front
Change currentSupplier variable name
This commit is contained in:
parent
432280884f
commit
052123ad0e
|
@ -73,7 +73,7 @@ const setData = (entity) => {
|
|||
data.value = useCardDescription(entity.ref, entity.id);
|
||||
};
|
||||
|
||||
const currentSupplier = computed(() => state.get('supplier'));
|
||||
const supplier = computed(() => state.get('supplier'));
|
||||
|
||||
const getEntryQueryParams = (supplier) => {
|
||||
if (!supplier) return null;
|
||||
|
@ -138,9 +138,9 @@ const getEntryQueryParams = (supplier) => {
|
|||
<VnLv :label="t('supplier.summary.account')" :value="entity.account" />
|
||||
</template>
|
||||
<template #icons>
|
||||
<QCardActions v-if="currentSupplier" class="q-gutter-x-md">
|
||||
<QCardActions v-if="supplier" class="q-gutter-x-md">
|
||||
<QIcon
|
||||
v-if="!currentSupplier.isActive"
|
||||
v-if="!supplier.isActive"
|
||||
name="vn:disabled"
|
||||
color="primary"
|
||||
size="xs"
|
||||
|
@ -148,7 +148,7 @@ const getEntryQueryParams = (supplier) => {
|
|||
<QTooltip>{{ t('Inactive supplier') }}</QTooltip>
|
||||
</QIcon>
|
||||
<QIcon
|
||||
v-if="!currentSupplier.isSerious"
|
||||
v-if="!supplier.isSerious"
|
||||
name="vn:supplierfalse"
|
||||
color="primary"
|
||||
size="xs"
|
||||
|
|
Loading…
Reference in New Issue