Merge pull request #264 from Safelite/feature/Digital/SSR-436

SSR-346
This commit is contained in:
Jeremy-Z 2023-04-25 12:13:56 -04:00 committed by GitHub
commit 4a3f2b9529
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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 )

View file

@ -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.