perf: #6943 redirect to ticket
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-11-15 10:51:18 +01:00
parent c90087b531
commit 64bde73418
1 changed files with 1 additions and 4 deletions

View File

@ -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"