From 146337b30f87e5dde3e9f3c93ad227a815513c60 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 17 Nov 2021 13:19:22 +0100 Subject: [PATCH] change for error --- modules/ticket/front/basic-data/step-two/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ticket/front/basic-data/step-two/index.js b/modules/ticket/front/basic-data/step-two/index.js index 7ffdb8315d..ebb93bb3d1 100644 --- a/modules/ticket/front/basic-data/step-two/index.js +++ b/modules/ticket/front/basic-data/step-two/index.js @@ -23,9 +23,7 @@ class Controller extends Component { } loadDefaultTicketAction() { - const isSalesAssistant = this.aclService.hasAny(['salesAssistant']); - const defaultOption = isSalesAssistant ? 'turnInMana' : 'changePrice'; - const filter = {where: {code: defaultOption}}; + let filter = {where: {code: 'changePrice'}}; this.$http.get(`TicketUpdateActions`, {filter}).then(response => { return this.ticket.option = response.data[0].id;