From f35e33cf1037816f1cf0d33ab998dcb65cc4b33b Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 3 Sep 2024 12:54:44 +0200 Subject: [PATCH] fix: refs #7553 fixed TicketTransfer --- src/pages/Ticket/Card/TicketSale.vue | 3 ++- src/pages/Ticket/Card/TicketTransfer.vue | 28 ++------------------ src/pages/Ticket/Card/TicketTransferForm.vue | 1 - src/pages/Ticket/TicketList.vue | 4 +-- 4 files changed, 5 insertions(+), 31 deletions(-) diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index 3dcaa0644..3ce90b85e 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -283,7 +283,7 @@ const getMana = async () => { const selectedValidSales = computed(() => { if (!sales.value) return; - return selectedSales.value.filter((sale) => sale.id != undefined); + return [...selectedRows.value]; }); const onOpenEditPricePopover = async (sale) => { @@ -418,6 +418,7 @@ const removeSales = async () => { const setTransferParams = async () => { try { + selectedSales.value = selectedValidSales.value; const checkedSales = JSON.parse(JSON.stringify(selectedSales.value)); transfer.value = { lastActiveTickets: [], diff --git a/src/pages/Ticket/Card/TicketTransfer.vue b/src/pages/Ticket/Card/TicketTransfer.vue index 1944b80f4..93412aa9b 100644 --- a/src/pages/Ticket/Card/TicketTransfer.vue +++ b/src/pages/Ticket/Card/TicketTransfer.vue @@ -1,13 +1,11 @@