diff --git a/src/layouts/entry-page/entry-page.vue b/src/layouts/entry-page/entry-page.vue index c1a2d011..db24c722 100644 --- a/src/layouts/entry-page/entry-page.vue +++ b/src/layouts/entry-page/entry-page.vue @@ -74,6 +74,7 @@ populateISSConfigValues(data) { this.mainStore.issConfig.clientName = data.accountName; + this.mainStore.issConfig.clientDisplayName = data.accountName; // Defaults to use the client name. this.mainStore.issConfig.accountNumber = data.accountNumber; this.mainStore.issConfig.styleSheet = data.styleSheet; this.mainStore.issConfig.isCoverageEnabled = data.coverageEnabled; @@ -91,9 +92,9 @@ this.mainStore.issConfig.enableTPAFlow = true; } - if ( clientFlags.clientDisplayName != null ) + if ( clientFlags.ClientDisplayName != null ) { - this.mainStore.issConfig.clientDisplayName = clientFlags.clientDisplayName; + this.mainStore.issConfig.clientDisplayName = clientFlags.ClientDisplayName; } } catch ( e ) diff --git a/src/store/index.js b/src/store/index.js index eec2a8c4..bec787df 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -97,7 +97,7 @@ const getDefaultState = () => { }, issConfig: { clientName: "Generic Insurance", // this is the default and will be overriden by the client's name - clientDisplayName: "Generic Insurance", + clientDisplayName: "Generic Insurance", // this is the default and will be overridden by the client's name or client display name. styleSheet: "", accountNumber: 0, isCoverageEnabled: false, // Indicates if we should be calling coverage on this flow.