0
0
Fork 0

Change currentSupplier variable name

This commit is contained in:
William Buezas 2024-03-05 09:58:54 -03:00
parent 432280884f
commit 052123ad0e
1 changed files with 4 additions and 4 deletions

View File

@ -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"