change for error
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
a35d36b84f
commit
146337b30f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue