From cf0454669a21a6ff6684b1744e96bbcc0889710b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 15 Apr 2024 12:24:45 +0200 Subject: [PATCH] refs #6321 fix: split disabled --- src/pages/Ticket/Negative/TicketLackDialog.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/Ticket/Negative/TicketLackDialog.vue b/src/pages/Ticket/Negative/TicketLackDialog.vue index cb6f7c40e..da471f4de 100644 --- a/src/pages/Ticket/Negative/TicketLackDialog.vue +++ b/src/pages/Ticket/Negative/TicketLackDialog.vue @@ -235,8 +235,11 @@ const columns = computed(() => [ ]); const emit = defineEmits([...useDialogPluginComponent.emits, 'selection']); -function rowsHasSelected({ keys }) { - emit('selection', keys); +function rowsHasSelected(selection) { + emit( + 'selection', + selection.map(({ ticketFk }) => ticketFk) + ); } const resultSplit = ref([]); @@ -283,12 +286,13 @@ function getIcon(key, prop) { >