This commit is contained in:
parent
ecc335d781
commit
5c9d06b5d2
|
@ -10,11 +10,10 @@ class Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
if (this.aclService.hasAny(['salesAssistant'])) {
|
this.$scope.watcher.submit().then(() => {
|
||||||
this.$scope.watcher.submit().then(() => {
|
if (this.aclService.hasAny(['salesAssistant']))
|
||||||
this.$state.go('claim.card.detail');
|
this.$state.go('claim.card.detail');
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue