welcome page update to capitalize states

This commit is contained in:
Bill Richardson 2026-01-15 10:38:13 -05:00
parent a70004bd6b
commit 5b1afb0a65

View file

@ -285,7 +285,11 @@ export default {
return !!this.getCmsContent('GlassOnlyQuestion', 'QuestionText');
},
getStates() {
return states;
return Object.keys(states).reduce((acc, key) => {
// eslint-disable-next-line no-param-reassign
acc[key] = states[key].toUpperCase();
return acc;
}, {});
},
isPolicyHolderDisabled() {
return !!this.mainStore.issConfig.disabledFields.policyNumber;