This commit is contained in:
Katie Kroell 2024-03-18 16:19:02 -04:00
parent 506ef244f0
commit 0146e85fbd

View file

@ -87,9 +87,7 @@ export default {
return this.getCmsContent(this.mobileWidgetName, 'BodyText'); return this.getCmsContent(this.mobileWidgetName, 'BodyText');
}, },
AddToCalendar_InShop_Subject() { AddToCalendar_InShop_Subject() {
const test = this.getCmsContent('AddToCalendar_InShop', 'HeaderText'); return this.getCmsContent('AddToCalendar_InShop', 'HeaderText');
console.log(test);
return test;
}, },
AddToCalendar_InShop_Body() { AddToCalendar_InShop_Body() {
return this.getCmsContent(this.inShopWidgetName, 'BodyText'); return this.getCmsContent(this.inShopWidgetName, 'BodyText');
@ -144,7 +142,8 @@ export default {
const isHTML = false; const isHTML = false;
let duration = ''; let duration = '';
if (this.appointmentType === AppointmentTypeStrings.MOBILE) { if (this.appointmentType === AppointmentTypeStrings.MOBILE
|| this.appointmentType === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP) {
location = this.serviceLocationFullAddress?.replace('<br/>', ''); location = this.serviceLocationFullAddress?.replace('<br/>', '');
subject = this.AddToCalendar_Mobile_Subject?.replace( subject = this.AddToCalendar_Mobile_Subject?.replace(
'{custom:serviceType}', '{custom:serviceType}',