This commit is contained in:
Mirco Wittrien 2022-11-26 13:43:14 +01:00
parent 386f6f14b5
commit 6c94bb0bfc
2 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ module.exports = (_ => {
}
processStandardSidebarView (e) {
if (e.instance.props.section == "pluginrepo") e.instance.props.contentType = "custom";
if (e.instance.props && e.instance.props.section == "pluginrepo") e.instance.props.contentType = "custom";
}
loadPlugins () {

View File

@ -819,7 +819,7 @@ module.exports = (_ => {
}
processStandardSidebarView (e) {
if (e.instance.props.section == "themerepo") e.instance.props.contentType = "custom";
if (e.instance.props && e.instance.props.section == "themerepo") e.instance.props.contentType = "custom";
}
generateTheme (fullCSS, generatorValues) {