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