diff --git a/src/pages/Ticket/Card/TicketCard.vue b/src/pages/Ticket/Card/TicketCard.vue index 62b112d5d..689a717e6 100644 --- a/src/pages/Ticket/Card/TicketCard.vue +++ b/src/pages/Ticket/Card/TicketCard.vue @@ -13,7 +13,6 @@ const route = useRoute(); const routeName = computed(() => route.name); const searchBarDataKeys = { TicketSummary: 'TicketSummary', - TicketNotes: 'TicketNotes', TicketSale: 'TicketSale', TicketPurchaseRequest: 'TicketPurchaseRequest', }; diff --git a/src/pages/Ticket/Card/TicketDescriptor.vue b/src/pages/Ticket/Card/TicketDescriptor.vue index dfbcfc106..5fb312b28 100644 --- a/src/pages/Ticket/Card/TicketDescriptor.vue +++ b/src/pages/Ticket/Card/TicketDescriptor.vue @@ -71,7 +71,7 @@ const filter = { const data = ref(useCardDescription()); const setData = (entity) => - (data.value = useCardDescription(entity.client.name, entity.id)); + (data.value = useCardDescription(entity.client?.name, entity.id));