Merge pull request #1057 from Safelite/feature/CSR-1073

Update for changes in naming in CMS
This commit is contained in:
Leah Schumann 2023-04-11 12:51:42 -04:00 committed by GitHub
commit 48b9670cd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 = [];