diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index ef0a17a19..866703110 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -186,6 +186,8 @@ export default { vm.setCmsContent(resultMap.cmsContent); vm.availableLineItems = taxedAvailableLineItems; vm.lineItems = lineItems; + + vm.updateFooterButtonText(vm.customCtaCopy); }); }, data() { @@ -261,6 +263,9 @@ export default { return paymentMethods.LATER; } }, + updateFooterButtonText(newValue) { + this.$refs.navbar.updateButtonText(newValue); + }, backButtonAction() { this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route); }, @@ -362,7 +367,7 @@ export default { }, watch: { customCtaCopy(newValue) { - this.$refs.navbar.updateButtonText(newValue); + this.updateFooterButtonText(newValue); }, }, components: {