ticket state changes to pending_open on first view
This commit is contained in:
parent
5a6349c5d3
commit
8831f67f00
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.scheduleAfterInit(() => [Promise.all([this.fetchTicketStates(), this.loadTickets(), this.loadUsers(), this.fetchShippingVouchers()]).then(()=>{
|
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_state = this.ticket.state;
|
||||||
this.selected_assignee = this.ticket.assigned_to
|
this.selected_assignee = this.ticket.assigned_to
|
||||||
})]);
|
})]);
|
||||||
|
|
Loading…
Reference in a new issue