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() {
|
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