From 444c2de16c522a1a0d9413cde186f8504c674c33 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