forked from verdnatura/salix-front
Clean selectedTickets after moving tickets
This commit is contained in:
parent
b6ec10994a
commit
6cd8a478fa
|
@ -256,6 +256,7 @@ const moveTicketsFuture = async () => {
|
||||||
let params = { tickets: ticketsToMove };
|
let params = { tickets: ticketsToMove };
|
||||||
await axios.post('Tickets/merge', params);
|
await axios.post('Tickets/merge', params);
|
||||||
notify(t('futureTickets.moveTicketSuccess'), 'positive');
|
notify(t('futureTickets.moveTicketSuccess'), 'positive');
|
||||||
|
selectedTickets.value = [];
|
||||||
arrayData.fetch({ append: false });
|
arrayData.fetch({ append: false });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error moving tickets to future', error);
|
console.error('Error moving tickets to future', error);
|
||||||
|
|
Loading…
Reference in New Issue