Moving the clear duplicate orders call around to coverage more use cases.
This commit is contained in:
parent
44caf8ab52
commit
43c9e987a4
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,6 @@ export default {
|
|||
async forwardButtonAction() {
|
||||
// If user clicked foward without selecting an option or user click on "start a new claim" button.
|
||||
if (this.selectedAnswer == null || this.selectedAnswer === 'NewClaim') {
|
||||
this.mainStore.updateDuplicateCheckVisited(true);
|
||||
this.navigateForward();
|
||||
return;
|
||||
}
|
||||
|
|
@ -156,6 +155,7 @@ export default {
|
|||
}
|
||||
},
|
||||
navigateForward() {
|
||||
this.mainStore.updateDuplicateCheckVisited(true);
|
||||
if (!this.mainStore.isPolicyLookupSuccessful) {
|
||||
this.$router.navigate(
|
||||
this.navigationScenarios.CLICKED_FORWARD_POLICY_UNVERIFIED,
|
||||
|
|
|
|||
Loading…
Reference in a new issue