prettier
This commit is contained in:
Carl Nation 2026-07-02 08:00:12 -04:00
parent 634687c80e
commit eeb438f003
2 changed files with 5 additions and 4 deletions

View file

@ -227,8 +227,7 @@ export default {
computed: { computed: {
questionText() { questionText() {
const baseText = const baseText =
this.overrideQuestionText || this.overrideQuestionText || this.getCmsContent(this.cmsWidgetName, "QuestionText");
this.getCmsContent(this.cmsWidgetName, "QuestionText");
return this.addOptionalText ? baseText + " (optional)" : baseText; return this.addOptionalText ? baseText + " (optional)" : baseText;
}, },
value: { value: {

View file

@ -385,8 +385,10 @@ export default {
return this.getCmsContent("LossLocationQuestionWidget", "QuestionText"); return this.getCmsContent("LossLocationQuestionWidget", "QuestionText");
}, },
morePolicyQuestionsWidgetName() { morePolicyQuestionsWidgetName() {
// State Farm may be the only one who uses this // State Farm may be the only one who uses this
return this.parsedClientConfig.OverrideMorePolicyQuestions ? "MorePolicyQuestionsOverrideWidget" : "MorePolicyQuestionsWidget"; return this.parsedClientConfig.OverrideMorePolicyQuestions
? "MorePolicyQuestionsOverrideWidget"
: "MorePolicyQuestionsWidget";
}, },
}, },
// Ensure CMS content is fetched during route navigation without depending on `to`/`from` // Ensure CMS content is fetched during route navigation without depending on `to`/`from`