From 87ba74bcfc419a3e9722cea5aa473fdecc2b4c47 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 15 Nov 2024 11:39:43 +0100 Subject: [PATCH] perf: #6943 Create ticket from client --- src/pages/Ticket/Card/TicketSummary.vue | 5 -- src/pages/Ticket/TicketList.vue | 69 +++++++++++++++++-------- 2 files changed, 48 insertions(+), 26 deletions(-) diff --git a/src/pages/Ticket/Card/TicketSummary.vue b/src/pages/Ticket/Card/TicketSummary.vue index 5fb99b849..61751357c 100644 --- a/src/pages/Ticket/Card/TicketSummary.vue +++ b/src/pages/Ticket/Card/TicketSummary.vue @@ -19,7 +19,6 @@ import VnTitle from 'src/components/common/VnTitle.vue'; import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue'; import ZoneDescriptorProxy from 'src/pages/Zone/Card/ZoneDescriptorProxy.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; -import TicketDescriptorMenu from './TicketDescriptorMenu.vue'; import VnToSummary from 'src/components/ui/VnToSummary.vue'; const route = useRoute(); @@ -87,10 +86,6 @@ async function changeState(value) { function toTicketUrl(section) { return '#/ticket/' + entityId.value + '/' + section; } -function isOnTicketCard() { - const currentPath = route.path; - return currentPath.startsWith('/ticket'); -}