diff --git a/src/pages/Customer/components/CustomerSummaryTable.vue b/src/pages/Customer/components/CustomerSummaryTable.vue index 711fa3196..5a79b5794 100644 --- a/src/pages/Customer/components/CustomerSummaryTable.vue +++ b/src/pages/Customer/components/CustomerSummaryTable.vue @@ -155,9 +155,6 @@ const setShippedColor = (date) => { if (difference < 0) return 'success'; }; -const rowClick = ({ id }) => - window.open(router.resolve({ params: { id }, name: 'TicketSummary' }).href, '_blank'); - const getItemPackagingType = (ticketSales) => { if (!ticketSales?.length) return '-'; @@ -186,7 +183,7 @@ const getItemPackagingType = (ticketSales) => { :columns="columns" :without-header="true" auto-load - :row-click="rowClick" + redirect="ticket" order="shipped DESC, id" :disable-option="{ card: true, table: true }" class="full-width"