diff --git a/src/constants/insurance.js b/src/constants/insurance.js index 651be751c..f7550513b 100644 --- a/src/constants/insurance.js +++ b/src/constants/insurance.js @@ -78,13 +78,3 @@ export function coverageTypeEnum(strCoverageType) { return null; } } - -export const parentAccountNumbers = { - CONNECT: "560636", -}; - -export const PARENT_ACCOUNT_NUMBERS = { - STATE_FARM: "711310", - USAA: "900040", - GEICO: "250034", -}; diff --git a/src/digital-components/textbox-question/textbox-question.vue b/src/digital-components/textbox-question/textbox-question.vue index fd8f850ef..0bc635feb 100644 --- a/src/digital-components/textbox-question/textbox-question.vue +++ b/src/digital-components/textbox-question/textbox-question.vue @@ -131,6 +131,10 @@ export default { }, validationRules: String, cmsWidgetName: String, + overrideQuestionText: { + type: String, + default: "", + }, maxLength: String, questionAlignment: String, // Left or center. Left is default. cornerStyle: String, // Rounded or square. Square is default. @@ -222,9 +226,9 @@ export default { }, computed: { questionText() { - return this.addOptionalText - ? this.getCmsContent(this.cmsWidgetName, "QuestionText") + " (optional)" - : this.getCmsContent(this.cmsWidgetName, "QuestionText"); + const baseText = + this.overrideQuestionText || this.getCmsContent(this.cmsWidgetName, "QuestionText"); + return this.addOptionalText ? baseText + " (optional)" : baseText; }, value: { get: function () { diff --git a/src/layouts/policy-info/more-policy-questions/more-policy-questions.vue b/src/layouts/policy-info/more-policy-questions/more-policy-questions.vue index 0345efcda..44c9d5fb9 100644 --- a/src/layouts/policy-info/more-policy-questions/more-policy-questions.vue +++ b/src/layouts/policy-info/more-policy-questions/more-policy-questions.vue @@ -13,17 +13,6 @@