diff --git a/modules/claim/front/basic-data/index.js b/modules/claim/front/basic-data/index.js index fa3306429..bc616dd5c 100644 --- a/modules/claim/front/basic-data/index.js +++ b/modules/claim/front/basic-data/index.js @@ -10,11 +10,10 @@ class Controller { } 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'); - }); - } + }); } }