Update for changes in naming in CMS

This commit is contained in:
Leah Schumann 2023-04-11 12:35:45 -04:00
parent 288bd77df1
commit 0591e22148
2 changed files with 4 additions and 4 deletions

View file

@ -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",

View file

@ -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 = [];