diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index 5336c4427..ecf16f4c6 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -56,8 +56,7 @@ onMounted(async () => { :url="`Claims/${entityId}`" :filter="filter" module="Claim" - :title="data.title" - :subtitle="data.subtitle" + title="client.name" @on-fetch="setData" data-key="Claim" > diff --git a/src/pages/Parking/Card/ParkingDescriptor.vue b/src/pages/Parking/Card/ParkingDescriptor.vue index b5c8820ed..b57bfb0cc 100644 --- a/src/pages/Parking/Card/ParkingDescriptor.vue +++ b/src/pages/Parking/Card/ParkingDescriptor.vue @@ -2,7 +2,6 @@ import { computed } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; -import { useArrayData } from 'src/composables/useArrayData'; import CardDescriptor from 'components/ui/CardDescriptor.vue'; import VnLv from 'components/ui/VnLv.vue'; @@ -17,8 +16,7 @@ const props = defineProps({ const { t } = useI18n(); const route = useRoute(); const entityId = computed(() => props.id || route.params.id); -const { store } = useArrayData('Parking'); -const parking = computed(() => store.data); + const filter = { fields: ['id', 'sectorFk', 'code', 'pickingOrder', 'row', 'column'], include: [{ relation: 'sector', scope: { fields: ['id', 'description'] } }], @@ -29,15 +27,13 @@ const filter = { module="Parking" data-key="Parking" :url="`Parkings/${entityId}`" - :title="parking?.code" - :subtitle="parking?.id" + title="code" :filter="filter" - @on-fetch="(data) => (parking = data)" > - diff --git a/src/pages/Parking/Card/ParkingSummary.vue b/src/pages/Parking/Card/ParkingSummary.vue index 7406856b9..95620ebfd 100644 --- a/src/pages/Parking/Card/ParkingSummary.vue +++ b/src/pages/Parking/Card/ParkingSummary.vue @@ -1,10 +1,9 @@