0
0
Fork 0

refs #7366 fix descriptor

This commit is contained in:
Carlos Satorres 2024-07-05 09:07:18 +02:00
parent c6ae1aec36
commit dc923ed36c
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ const entityId = computed(() => {
}); });
const data = ref(useCardDescription()); const data = ref(useCardDescription());
const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.id));
</script> </script>
<template> <template>
@ -64,6 +65,7 @@ const data = ref(useCardDescription());
:subtitle="data.subtitle" :subtitle="data.subtitle"
:filter="filter" :filter="filter"
data-key="travelData" data-key="travelData"
@on-fetch="setData"
> >
<template #menu="{ entity }"> <template #menu="{ entity }">
<TravelDescriptorMenuItems :travel="entity" /> <TravelDescriptorMenuItems :travel="entity" />