🐛 Fix crash with disabled modules in migrator #576

This commit is contained in:
Manuel
2023-01-20 19:06:49 +01:00
parent 80845fa12e
commit df07886e6a

View File

@@ -22,7 +22,7 @@ export function migrateConfig(config: Config): ConfigType {
name: config.name ?? 'default', name: config.name ?? 'default',
}, },
categories: [], categories: [],
widgets: migrateModules(config), widgets: migrateModules(config).filter(widget => widget !== null),
apps: [], apps: [],
settings: { settings: {
common: { common: {