cancel claim modal navigation
This commit is contained in:
parent
d6d252930e
commit
b286a70e98
1 changed files with 8 additions and 6 deletions
|
|
@ -83,7 +83,7 @@
|
||||||
linkType="text"
|
linkType="text"
|
||||||
text="No, I want to cancel"
|
text="No, I want to cancel"
|
||||||
href="#"
|
href="#"
|
||||||
@clickEvent="cancelClaim" />
|
@clickEvent="openCancelClaimModal" />
|
||||||
<textBlock
|
<textBlock
|
||||||
v-if="isDisclaimerVisible"
|
v-if="isDisclaimerVisible"
|
||||||
class="mt-5 mb-5"
|
class="mt-5 mb-5"
|
||||||
|
|
@ -105,7 +105,7 @@
|
||||||
<cancelClaimModal
|
<cancelClaimModal
|
||||||
:ref="CANCEL_CLAIM_REF_NAME"
|
:ref="CANCEL_CLAIM_REF_NAME"
|
||||||
@cancelClaimConfirmation="cancelClaim"
|
@cancelClaimConfirmation="cancelClaim"
|
||||||
@returnToClaim="continueClaim" />
|
@returnToClaim="navigateForward" />
|
||||||
</Form>
|
</Form>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -455,11 +455,13 @@ export default {
|
||||||
this.baseServiceLineItems = lineItems;
|
this.baseServiceLineItems = lineItems;
|
||||||
},
|
},
|
||||||
formatAmountInDollars,
|
formatAmountInDollars,
|
||||||
|
openCancelClaimModal() {
|
||||||
|
this.$refs[CANCEL_CLAIM_REF_NAME].openModal();
|
||||||
|
},
|
||||||
cancelClaim() {
|
cancelClaim() {
|
||||||
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
|
this.mainStore.updateIsSafeliteProvider(false);
|
||||||
// this.mainStore.updateIsSafeliteProvider(false);
|
this.mainStore.setBailout(bailoutMessage.RequestCallback());
|
||||||
// this.mainStore.setBailout(bailoutMessage.RequestCallback());
|
this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD_WITH_NON_SAFELITE_SHOP);
|
||||||
// this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD_WITH_NON_SAFELITE_SHOP);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue