Fix config issue
This commit is contained in:
parent
0501d4ce2a
commit
fe68719eca
@ -30,7 +30,7 @@ if (process.env.REACT_APP_CONFIG) {
|
||||
}
|
||||
|
||||
let userManager;
|
||||
if (config.oidc) {
|
||||
if (config && config.oidc) {
|
||||
const oidcClient = config.oidc[0];
|
||||
|
||||
const settings = {
|
||||
@ -53,11 +53,10 @@ if (config.oidc) {
|
||||
loadUser(store, userManager);
|
||||
}
|
||||
|
||||
if (config.servers) {
|
||||
if (config && config.servers) {
|
||||
OHIF.utils.addServers(config.servers, store);
|
||||
}
|
||||
|
||||
|
||||
const defaultButtons = [
|
||||
{
|
||||
command: 'StackScroll',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user