mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-04 12:20:19 +03:00
Ignore null props when resolving theme
This commit is contained in:
parent
cf4642e303
commit
0e7baa56db
|
@ -209,7 +209,7 @@ export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
});
|
});
|
||||||
} else if (typeof val === 'object') {
|
} else if (typeof val === 'object' && val !== null) {
|
||||||
setProxy(val, currentPath);
|
setProxy(val, currentPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user