Moving the clear duplicate orders call around to coverage more use cases.

This commit is contained in:
Jeremy-Z 2026-01-22 12:38:05 -05:00
parent 44caf8ab52
commit 43c9e987a4

View file

@ -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,