welcome page update to capitalize states
This commit is contained in:
parent
a70004bd6b
commit
5b1afb0a65
1 changed files with 5 additions and 1 deletions
|
|
@ -285,7 +285,11 @@ export default {
|
||||||
return !!this.getCmsContent('GlassOnlyQuestion', 'QuestionText');
|
return !!this.getCmsContent('GlassOnlyQuestion', 'QuestionText');
|
||||||
},
|
},
|
||||||
getStates() {
|
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() {
|
isPolicyHolderDisabled() {
|
||||||
return !!this.mainStore.issConfig.disabledFields.policyNumber;
|
return !!this.mainStore.issConfig.disabledFields.policyNumber;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue