remove old modals and related properties
This commit is contained in:
parent
67a3ae062b
commit
26b8c0fa20
1 changed files with 1 additions and 24 deletions
|
|
@ -103,10 +103,6 @@
|
|||
:ref="RECAL_MODAL_REF_NAME"
|
||||
cssModalHeadlineClass="text-center"
|
||||
cmsWidgetName="RecalModal" />
|
||||
<cancelClaimModal
|
||||
:ref="CANCEL_CLAIM_REF_NAME"
|
||||
@cancelClaimConfirmation="cancelClaim"
|
||||
@returnToClaim="continueClaim" />
|
||||
</Form>
|
||||
</template>
|
||||
|
||||
|
|
@ -114,7 +110,6 @@
|
|||
// Import Component
|
||||
import { Form } from 'vee-validate';
|
||||
import siteHeader from '@/iss-components/site-header/site-header.vue';
|
||||
import cancelClaimModal from '@/layouts/coverage-statement/cancel-claim-modal/cancel-claim-modal.vue';
|
||||
import contentGroupModal from '@/iss-components/content-group-modal/content-group-modal.vue';
|
||||
import textBlock from '@/digital-components/text-block/text-block.vue';
|
||||
import textLink from '@/ux-components/text-link/text-link.vue';
|
||||
|
|
@ -141,10 +136,7 @@ import { getPriceOfLineItems } from '@/helpers/price-calculator';
|
|||
import coverageStatuses from '@/constants/coverage-statuses';
|
||||
import coverageType from '@/constants/coverage-type';
|
||||
|
||||
const CANCEL_CLAIM_REF_NAME = 'CancelClaimModal';
|
||||
const SAFELITE_PROVIDER = 'Safelite';
|
||||
const RECAL_MODAL_REF_NAME = 'RecalModal';
|
||||
const SITE_FOOTER_REF_NAME = 'siteFooter';
|
||||
|
||||
export default {
|
||||
name: 'coverage-statement',
|
||||
|
|
@ -152,7 +144,6 @@ export default {
|
|||
siteHeader,
|
||||
// eslint-disable-next-line vue/no-reserved-component-names
|
||||
Form,
|
||||
cancelClaimModal,
|
||||
contentGroupModal,
|
||||
buttonMain,
|
||||
textBlock,
|
||||
|
|
@ -211,7 +202,6 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
baseServiceLineItems: [],
|
||||
selectedProvider: '',
|
||||
rules: {
|
||||
selectionRequired: globalRules.OPTION_REQUIRED
|
||||
},
|
||||
|
|
@ -224,9 +214,7 @@ export default {
|
|||
nextStepITACNoComp: 'NextStepsWidgetITACNoComp',
|
||||
serviceProviderQuestion: 'ServiceProviderQuestion'
|
||||
},
|
||||
CANCEL_CLAIM_REF_NAME,
|
||||
RECAL_MODAL_REF_NAME,
|
||||
SITE_FOOTER_REF_NAME
|
||||
RECAL_MODAL_REF_NAME
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -359,17 +347,6 @@ export default {
|
|||
}
|
||||
},
|
||||
watch: {
|
||||
selectedProvider() {
|
||||
if (this.selectedProvider) {
|
||||
if (this.selectedProvider !== SAFELITE_PROVIDER) {
|
||||
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
|
||||
this.selectedProvider = '';
|
||||
this.$refs.siteFooter.disableForwardButton();
|
||||
} else {
|
||||
this.$refs.siteFooter.enableForwardAction();
|
||||
}
|
||||
}
|
||||
},
|
||||
nextStepsBody(newValue, oldValue) {
|
||||
if (newValue !== oldValue) {
|
||||
setupModalLink(this, RECAL_MODAL_REF_NAME);
|
||||
|
|
|
|||
Loading…
Reference in a new issue