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