mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🐛 Fix crash with disabled modules in migrator #576
This commit is contained in:
@@ -22,7 +22,7 @@ export function migrateConfig(config: Config): ConfigType {
|
||||
name: config.name ?? 'default',
|
||||
},
|
||||
categories: [],
|
||||
widgets: migrateModules(config),
|
||||
widgets: migrateModules(config).filter(widget => widget !== null),
|
||||
apps: [],
|
||||
settings: {
|
||||
common: {
|
||||
|
||||
Reference in New Issue
Block a user