Removed old way of passing alert headline and body text from page level component to sub-components
This commit is contained in:
parent
1800f596af
commit
73745fd24a
3 changed files with 3 additions and 38 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
<funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" />
|
<funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" />
|
||||||
<vehicleBanner ref="vehicleBanner" :displayGenericVehicleImage=false />
|
<vehicleBanner ref="vehicleBanner" :displayGenericVehicleImage=false />
|
||||||
<funnelSubHeader cmsWidgetName="FunnelSubHeaderWidget" ref="funnelSubHeader" />
|
<funnelSubHeader cmsWidgetName="FunnelSubHeaderWidget" ref="funnelSubHeader" />
|
||||||
<customerQuestions ref="customerQuestions" v-model="customerQuestions" :alertNotifications="{alertVerification: alertVerificationWidget, alertNoMatchWarning: alertNoMatchWarningWidget}" />
|
<customerQuestions ref="customerQuestions" v-model="customerQuestions" />
|
||||||
<funnel-footer
|
<funnel-footer
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
ref="funnelFooter"
|
ref="funnelFooter"
|
||||||
|
|
@ -55,39 +55,6 @@ export default {
|
||||||
// Call the "next" function to complete the transition to this page.
|
// Call the "next" function to complete the transition to this page.
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
vm.setCmsContent(resultMap.cmsContent);
|
vm.setCmsContent(resultMap.cmsContent);
|
||||||
vm.alertVerificationWidget = {
|
|
||||||
headline: resultMap.cmsContent.AlertVerificationWarningWidget.HeadlineText,
|
|
||||||
copy: resultMap.cmsContent.AlertVerificationWarningWidget.BodyText,
|
|
||||||
};
|
|
||||||
vm.alertNoMatchWarningWidget = {
|
|
||||||
headline: resultMap.cmsContent.AlertNoMatchWarningWidget.HeadlineText,
|
|
||||||
copy: resultMap.cmsContent.AlertNoMatchWarningWidget.BodyText,
|
|
||||||
}
|
|
||||||
// vm.$refs.funnelHeader.initializeComponent(
|
|
||||||
// resultMap.cmsContent.FunnelHeaderWidget
|
|
||||||
// );
|
|
||||||
// vm.$refs.vehicleBanner.initializeComponent(
|
|
||||||
// resultMap.cmsContent.VehicleBannerWidget
|
|
||||||
// );
|
|
||||||
// vm.$refs.funnelSubHeader.initializeComponent(
|
|
||||||
// resultMap.cmsContent.FunnelSubHeaderWidget
|
|
||||||
// );
|
|
||||||
// vm.$refs.funnelFooter.initializeComponent(
|
|
||||||
// resultMap.cmsContent.FunnelFooterWidget
|
|
||||||
// );
|
|
||||||
// vm.$refs.customerQuestions.initializeComponent([
|
|
||||||
// resultMap.cmsContent.StreetAddressQuestionWidget,
|
|
||||||
// resultMap.cmsContent.CityQuestionWidget,
|
|
||||||
// resultMap.cmsContent.StateQuestionWidget,
|
|
||||||
// resultMap.cmsContent.ZipQuestionWidget,
|
|
||||||
// resultMap.cmsContent.AlertVerificationWarningWidget,
|
|
||||||
// resultMap.cmsContent.AlertNoMatchWarningWidget,
|
|
||||||
// resultMap.cmsContent.FirstNameQuestionWidget,
|
|
||||||
// resultMap.cmsContent.LastNameQuestionWidget,
|
|
||||||
// resultMap.cmsContent.EmailAddressQuestionWidget,
|
|
||||||
|
|
||||||
// ]
|
|
||||||
// );
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ export default ({
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
validationRules: String,
|
validationRules: String,
|
||||||
alertNotifications: {},
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@ export default ({
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
validationRules: String,
|
validationRules: String,
|
||||||
alertNotifications: {},
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
customerModel: {
|
customerModel: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue