refactor: redirect using params
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2025-01-17 13:07:30 +01:00
parent 972b377e13
commit e1a395b015
1 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,9 @@ async function handleConfirm() {
type: 'positive',
});
router.push({
path: `/ticket/${ticket.data[0].ticketFk}/sale?table={"filter":{"limit":20,"skip":0}}`,
name: 'TicketSale',
params: { id: ticket.data[0].ticketFk },
query: { table: JSON.stringify({ filter: { limit: 20, skip: 0 } }) },
});
}
}