ticket state changes to pending_open on first view
This commit is contained in:
parent
b9cfdf5456
commit
9902bda6d8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
})]);
|
||||
|
|
Loading…
Reference in a new issue