Null checking logo configs
This commit is contained in:
parent
6f24772f49
commit
10108fb543
|
@ -282,7 +282,7 @@ export async function save(ctx: UserCtx<Config>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function enrichOIDCLogos(oidcLogos: OIDCLogosConfig) {
|
function enrichOIDCLogos(oidcLogos: OIDCLogosConfig) {
|
||||||
if (!oidcLogos) {
|
if (!oidcLogos?.config) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
oidcLogos.config = Object.keys(oidcLogos.config).reduce(
|
oidcLogos.config = Object.keys(oidcLogos.config).reduce(
|
||||||
|
|
Loading…
Reference in New Issue