fix: refs #8463 update entity check and replace OrderDescriptorProxy with CustomerDescriptorProxy
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Alex Moreno 2025-03-14 09:36:59 +01:00
parent f7046be50d
commit 9befd7317f
2 changed files with 2 additions and 3 deletions

View File

@ -99,7 +99,7 @@ const toModule = computed(() => {
<template>
<div class="descriptor">
<template v-if="entity">
<template v-if="entity && entity?.id">
<div class="header bg-primary q-pa-sm justify-between">
<slot name="header-extra-action">
<QBtn

View File

@ -13,7 +13,6 @@ import FetchedTags from 'components/ui/FetchedTags.vue';
import VnTitle from 'src/components/common/VnTitle.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import OrderDescriptorMenu from 'pages/Order/Card/OrderDescriptorMenu.vue';
import OrderDescriptorProxy from './OrderDescriptorProxy.vue';
const { t } = useI18n();
const route = useRoute();
@ -107,7 +106,7 @@ async function handleConfirm() {
<template #value>
<span class="link">
{{ dashIfEmpty(entity?.address?.nickname) }}
<OrderDescriptorProxy :id="1" />
<CustomerDescriptorProxy :id="entity?.clientFk" />
</span>
</template>
</VnLv>