From 8831f67f003526f460e2ebd4499ea8b89eb178a9 Mon Sep 17 00:00:00 2001 From: bton Date: Sun, 10 Nov 2024 17:12:53 +0100 Subject: [PATCH] ticket state changes to pending_open on first view --- web/src/views/Ticket.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/views/Ticket.vue b/web/src/views/Ticket.vue index cbb372c..2042090 100644 --- a/web/src/views/Ticket.vue +++ b/web/src/views/Ticket.vue @@ -125,6 +125,9 @@ 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 = this.ticket.state; this.selected_assignee = this.ticket.assigned_to })]);