3364-zone_events bug #785
|
@ -23,9 +23,7 @@ class Controller extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
loadDefaultTicketAction() {
|
loadDefaultTicketAction() {
|
||||||
const isSalesAssistant = this.aclService.hasAny(['salesAssistant']);
|
let filter = {where: {code: 'changePrice'}};
|
||||||
const defaultOption = isSalesAssistant ? 'turnInMana' : 'changePrice';
|
|
||||||
const filter = {where: {code: defaultOption}};
|
|
||||||
|
|
||||||
this.$http.get(`TicketUpdateActions`, {filter}).then(response => {
|
this.$http.get(`TicketUpdateActions`, {filter}).then(response => {
|
||||||
return this.ticket.option = response.data[0].id;
|
return this.ticket.option = response.data[0].id;
|
||||||
|
|
Loading…
Reference in New Issue