forked from verdnatura/salix-front
refs #7366 fix descriptor
This commit is contained in:
parent
c6ae1aec36
commit
dc923ed36c
|
@ -54,6 +54,7 @@ const entityId = computed(() => {
|
|||
});
|
||||
|
||||
const data = ref(useCardDescription());
|
||||
const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.id));
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -64,6 +65,7 @@ const data = ref(useCardDescription());
|
|||
:subtitle="data.subtitle"
|
||||
:filter="filter"
|
||||
data-key="travelData"
|
||||
@on-fetch="setData"
|
||||
>
|
||||
<template #menu="{ entity }">
|
||||
<TravelDescriptorMenuItems :travel="entity" />
|
||||
|
|
Loading…
Reference in New Issue