Commit for draft comparison
This commit is contained in:
parent
00a30e9b2a
commit
436612c1c6
1 changed files with 6 additions and 3 deletions
|
|
@ -127,12 +127,13 @@ export default {
|
||||||
|
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
vm.setCmsContent(resultMap.cmsContent);
|
vm.setCmsContent(resultMap.cmsContent);
|
||||||
|
vm.initializeComponent();
|
||||||
vm.updateFooterButtonText(vm.customCallToActionButtonCopy);
|
vm.updateFooterButtonText(vm.customCallToActionButtonCopy);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
paymentMethod: this.getPaymentMethodFromStore(),
|
paymentMethod: null,
|
||||||
widget: {
|
widget: {
|
||||||
paymentMethod: 'PaymentMethodWidget',
|
paymentMethod: 'PaymentMethodWidget',
|
||||||
paymentMethodApplePay: 'PaymentMethodWidgetApplePay'
|
paymentMethodApplePay: 'PaymentMethodWidgetApplePay'
|
||||||
|
|
@ -251,8 +252,10 @@ export default {
|
||||||
&& serviceLocationReqs
|
&& serviceLocationReqs
|
||||||
&& scheduleReqs
|
&& scheduleReqs
|
||||||
&& customerReqs
|
&& customerReqs
|
||||||
&& contactInfoReqs
|
&& contactInfoReqs);
|
||||||
);
|
},
|
||||||
|
initializeComponent() {
|
||||||
|
this.paymentMethod = this.getPaymentMethodFromStore();
|
||||||
},
|
},
|
||||||
getPaymentMethodFromStore() {
|
getPaymentMethodFromStore() {
|
||||||
if (this.isPayInAdvanceDisabled) {
|
if (this.isPayInAdvanceDisabled) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue