From e38e05d3701122893a76dacbf0c82c9fbcf62675 Mon Sep 17 00:00:00 2001 From: bton Date: Sun, 10 Nov 2024 19:53:09 +0100 Subject: [PATCH] change the ticket.state in the backend too --- web/src/views/Ticket.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/views/Ticket.vue b/web/src/views/Ticket.vue index 2042090..f666ee8 100644 --- a/web/src/views/Ticket.vue +++ b/web/src/views/Ticket.vue @@ -126,7 +126,8 @@ export default { mounted() { this.scheduleAfterInit(() => [Promise.all([this.fetchTicketStates(), this.loadTickets(), this.loadUsers(), this.fetchShippingVouchers()]).then(()=>{ if (this.ticket.state == "pending_new"){ - this.ticket.state = "pending_open" + this.selected_state = "pending_open"; + this.changeTicketStatus(this.ticket) }; this.selected_state = this.ticket.state; this.selected_assignee = this.ticket.assigned_to