Fixed oversight or merge issue that missed moving components back into mobile-location-modal-questions

This commit is contained in:
Leah Schumann 2023-03-06 14:04:52 -05:00
parent d11fd660ff
commit 58f961abc0
2 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,10 @@
<template> <template>
<div class="text-center"> <div class="text-center">
<label
for="mobileLocationLinkPromptId"
:aria-label="mobileLocationLinkPromptText"
class="form-label fw-bold w-100 ps-4 pe-4 pt-4"
v-html="mobileLocationLinkPromptText"></label>
<div class="update-mobile-location-text-link"> <div class="update-mobile-location-text-link">
<textLink <textLink
ref="mobileLocationLink" ref="mobileLocationLink"
@ -10,6 +15,10 @@
@click-event="openModal" @click-event="openModal"
aria-label="Modal window" /> aria-label="Modal window" />
</div> </div>
<textBlock
:customText="mobileFeeText"
cmsWidgetName="MobileFeeDisclaimerWidget"
typeStyle="caption" />
</div> </div>
<modal <modal
:ref="modalName" :ref="modalName"
@ -80,6 +89,9 @@ export default {
alertInvalidZipWidgetName: String, alertInvalidZipWidgetName: String,
}, },
computed: { computed: {
mobileLocationLinkPromptText() {
return this.getCmsContent(this.linkWidgetName, "HeaderText");
},
mobileLocationLinkText() { mobileLocationLinkText() {
if ( if (
this.addressModel.streetAddress !== null && this.addressModel.streetAddress !== null &&

View file

@ -10,21 +10,11 @@
ref="serviceZipCodeQuestion" ref="serviceZipCodeQuestion"
linkWidgetName="ServiceZipLinkWidget" linkWidgetName="ServiceZipLinkWidget"
modalWidgetName="ServiceZipModalWidget" /> modalWidgetName="ServiceZipModalWidget" />
<div class="text-center">
<label
for="mobileLocationLinkPromptId"
:aria-label="mobileLocationLinkPromptText"
class="form-label fw-bold w-100 ps-4 pe-4 pt-4"
v-html="mobileLocationLinkPromptText"></label>
</div>
<mobileLocationModalQuestions <mobileLocationModalQuestions
v-model="mobileLocationQuestions" v-model="mobileLocationQuestions"
ref="mobileLocationModalQuestions" ref="mobileLocationModalQuestions"
linkWidgetName="MobileLocationLinkWidget" linkWidgetName="MobileLocationLinkWidget"
modalWidgetName="MobileLocationModalWidget" /> modalWidgetName="MobileLocationModalWidget" />
<div class="text-center">
<textBlock :customText="mobileFeeDisclaimerText" typeStyle="caption" />
</div>
<funnel-footer <funnel-footer
cmsWidgetName="FunnelFooterWidget" cmsWidgetName="FunnelFooterWidget"
ref="funnelFooter" ref="funnelFooter"
@ -49,7 +39,6 @@ import { settleAllPromises } from "@/helpers/layout-helper";
import { navigateToHeritageFunnel } from "@/helpers/heritage-integration/navigation-helper"; import { navigateToHeritageFunnel } from "@/helpers/heritage-integration/navigation-helper";
import { getPricedMobileFeePart } from "@/helpers/service-location-helper"; import { getPricedMobileFeePart } from "@/helpers/service-location-helper";
import store from "@/store"; import store from "@/store";
import textBlock from "@/digital-components/text-block/text-block";
export default { export default {
name: "service-location", name: "service-location",
@ -196,7 +185,6 @@ export default {
funnelSubHeader, funnelSubHeader,
Form, Form,
loadingModal, loadingModal,
textBlock,
}, },
}; };
</script> </script>