fix: refs #8616 add conditional for SupplierDescriptorProxy and bind attributes in CardDescriptor
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
bb928a0c76
commit
9fa21cbaff
|
@ -120,7 +120,7 @@ const toModule = computed(() =>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="descriptor">
|
<div class="descriptor" v-bind="$attrs">
|
||||||
<template v-if="entity && !isLoading">
|
<template v-if="entity && !isLoading">
|
||||||
<div class="header bg-primary q-pa-sm justify-between">
|
<div class="header bg-primary q-pa-sm justify-between">
|
||||||
<slot name="header-extra-action"
|
<slot name="header-extra-action"
|
||||||
|
|
|
@ -49,7 +49,10 @@ const links = {
|
||||||
<template #value>
|
<template #value>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ entity.supplier?.name }}
|
{{ entity.supplier?.name }}
|
||||||
<SupplierDescriptorProxy :id="entity.supplierFk" />
|
<SupplierDescriptorProxy
|
||||||
|
v-if="entity.supplierFk"
|
||||||
|
:id="entity.supplierFk"
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
|
@ -58,6 +61,7 @@ const links = {
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ entity.supplierCooler?.name }}
|
{{ entity.supplierCooler?.name }}
|
||||||
<SupplierDescriptorProxy
|
<SupplierDescriptorProxy
|
||||||
|
v-if="entity.supplierCoolerFk"
|
||||||
:id="entity.supplierCoolerFk"
|
:id="entity.supplierCoolerFk"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue