From 0591e22148214387d2c3b561943b3321cd16ce35 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Tue, 11 Apr 2023 12:35:45 -0400 Subject: [PATCH] Update for changes in naming in CMS --- .../appointment-type-question.spec.js | 6 +++--- .../appointment-type-question/appointment-type-question.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/service-location/appointment-type-question/appointment-type-question.spec.js b/src/layouts/service-location/appointment-type-question/appointment-type-question.spec.js index cdbe474a2..65fba87f2 100644 --- a/src/layouts/service-location/appointment-type-question/appointment-type-question.spec.js +++ b/src/layouts/service-location/appointment-type-question/appointment-type-question.spec.js @@ -21,7 +21,7 @@ const mockCmsContent = { }, { AnswerImageUrl: "", - Name: "DropOff", + Name: "Dropoff", SubText: "", SubWidgetName: "", Text: "Drop-off", @@ -75,7 +75,7 @@ describe("appointment-type-question.vue", () => { }, { AnswerImageUrl: "", - Name: "DropOff", + Name: "Dropoff", SubText: "", SubWidgetName: "", Text: "Drop-off", @@ -108,7 +108,7 @@ describe("appointment-type-question.vue", () => { }, { AnswerImageUrl: "", - Name: "DropOff", + Name: "Dropoff", SubText: "", SubWidgetName: "", Text: "Drop-off", diff --git a/src/layouts/service-location/appointment-type-question/appointment-type-question.vue b/src/layouts/service-location/appointment-type-question/appointment-type-question.vue index 0394b8a84..dbd67ded8 100644 --- a/src/layouts/service-location/appointment-type-question/appointment-type-question.vue +++ b/src/layouts/service-location/appointment-type-question/appointment-type-question.vue @@ -44,7 +44,7 @@ export default { filteredAnswers = this.answersFromCms.filter((answer) => answer.Name == "Mobile"); } else if (this.isServiceableInshop) { filteredAnswers = this.answersFromCms.filter( - (answer) => answer.Name == "Inshop" || answer.Name == "DropOff" + (answer) => answer.Name == "Inshop" || answer.Name == "Dropoff" ); } else { filteredAnswers = [];