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