diff --git a/src/components/ui/CardList2.vue b/src/components/ui/CardList2.vue index 8cea96688..ae74fbd7e 100644 --- a/src/components/ui/CardList2.vue +++ b/src/components/ui/CardList2.vue @@ -2,7 +2,7 @@ import { ref, watch } from 'vue'; const $props = defineProps({ - addElement: { type: Function, required: true }, + addElement: { type: Function, required: false }, element: { type: Object, default: null }, id: { type: Number, default: null }, isSelected: { type: Boolean, default: false }, diff --git a/src/pages/Shelving/ShelvingList.vue b/src/pages/Shelving/ShelvingList.vue index c52e7bc4d..ca4050cfc 100644 --- a/src/pages/Shelving/ShelvingList.vue +++ b/src/pages/Shelving/ShelvingList.vue @@ -74,7 +74,6 @@ function viewSummary(id) { diff --git a/src/pages/Shelving/components/ShelvingDescriptor.vue b/src/pages/Shelving/components/ShelvingDescriptor.vue index a4a72a6f8..e3d449445 100644 --- a/src/pages/Shelving/components/ShelvingDescriptor.vue +++ b/src/pages/Shelving/components/ShelvingDescriptor.vue @@ -49,6 +49,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity :filter="filter" :title="data.title" :subtitle="data.subtitle" + data-key="Shelvings" @on-fetch="setData" >