This commit is contained in:
parent
1ae2512169
commit
b70316551b
|
@ -10,13 +10,12 @@ 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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Controller.$inject = ['$scope', '$state', 'aclService'];
|
Controller.$inject = ['$scope', '$state', 'aclService'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue