Merge pull request #1488 from Safelite/feature/csr-1726

CSR 1726
This commit is contained in:
chloeherdsafelite 2023-11-03 10:36:40 -04:00 committed by GitHub
commit 8cc9d80e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,8 @@ export default {
vm.setCmsContent(resultMap.cmsContent); vm.setCmsContent(resultMap.cmsContent);
vm.availableLineItems = taxedAvailableLineItems; vm.availableLineItems = taxedAvailableLineItems;
vm.lineItems = lineItems; vm.lineItems = lineItems;
vm.updateFooterButtonText(vm.customCtaCopy);
}); });
}, },
data() { data() {
@ -261,6 +263,9 @@ export default {
return paymentMethods.LATER; return paymentMethods.LATER;
} }
}, },
updateFooterButtonText(newValue) {
this.$refs.navbar.updateButtonText(newValue);
},
backButtonAction() { backButtonAction() {
this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route); this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route);
}, },
@ -362,7 +367,7 @@ export default {
}, },
watch: { watch: {
customCtaCopy(newValue) { customCtaCopy(newValue) {
this.$refs.navbar.updateButtonText(newValue); this.updateFooterButtonText(newValue);
}, },
}, },
components: { components: {