diff --git a/src/store/index.js b/src/store/index.js index d905cf14..1aab7bf1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -155,8 +155,7 @@ const getDefaultState = () => ({ eon: null, workOrderNumber: null, originalDeductible: null, - currentDeductible: null, - submitToMF: false + currentDeductible: null }, applicationUser: { experiments: [], @@ -1167,7 +1166,7 @@ export const useMainStore = defineStore({ referralCorrelationId: this.order.referralCorrelationId, referralSequenceNumber: this.order.referralSequenceNumber, eon: this.order.eon, - submitToMF: this.order.submitToMF + submitToMainframe: !!this.order.referralNumber }, additionalSuccessEventDataHandler: (response) => `Email provided: ${customer.emailAddress ? 'true' : 'false'}`