ticket state changes to pending_open on first view #83

Merged
j3d1 merged 2 commits from bton/dev/ticket-open-on-view into testing 2024-11-10 19:01:45 +00:00
Showing only changes of commit 9902bda6d8 - Show all commits

View file

@ -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
})]);