release_2024-11-13 #88

Merged
j3d1 merged 20 commits from testing into live 2024-11-13 18:54:48 +00:00
Showing only changes of commit b9cfdf5456 - Show all commits

View file

@ -79,16 +79,6 @@ export default {
shipping_voucher_type: null, shipping_voucher_type: null,
} }
}, },
watch: {
ticket(val) {
if (this.selected_state == null) {
this.selected_state = val.state;
}
if (this.selected_assignee == null) {
this.selected_assignee = val.assigned_to
}
}
},
computed: { computed: {
...mapState(['tickets', 'state_options', 'users']), ...mapState(['tickets', 'state_options', 'users']),
...mapGetters(['availableShippingVoucherTypes']), ...mapGetters(['availableShippingVoucherTypes']),
@ -134,8 +124,10 @@ export default {
}, },
}, },
mounted() { mounted() {
this.scheduleAfterInit(() => [this.fetchTicketStates(), this.loadTickets(), this.loadUsers(), this.scheduleAfterInit(() => [Promise.all([this.fetchTicketStates(), this.loadTickets(), this.loadUsers(), this.fetchShippingVouchers()]).then(()=>{
this.fetchShippingVouchers()]); this.selected_state = this.ticket.state;
this.selected_assignee = this.ticket.assigned_to
})]);
} }
}; };
</script> </script>