From c51d29a53891bcdbea9137e7a61be851e9893b98 Mon Sep 17 00:00:00 2001 From: bton Date: Sat, 2 Nov 2024 01:24:12 +0100 Subject: [PATCH] assigned ticket button is pre selected and deisabled if selected person == asigned person --- web/src/views/Ticket.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/views/Ticket.vue b/web/src/views/Ticket.vue index a5008af..97051b4 100644 --- a/web/src/views/Ticket.vue +++ b/web/src/views/Ticket.vue @@ -19,7 +19,7 @@ @@ -73,7 +73,7 @@ export default { data() { return { selected_state: null, - Selected_assignee: null, + selected_assignee: null, shipping_voucher_type: null, } }, @@ -82,6 +82,9 @@ export default { if (this.selected_state == null) { this.selected_state = val.state; } + if (this.selected_assignee == null) { + this.selected_assignee = val.assigned_to + } } }, computed: {