mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Settings: fixed faulty widget upgrade
This commit is contained in:
@@ -105,9 +105,9 @@ Singleton {
|
||||
continue
|
||||
}
|
||||
|
||||
if (upgradeWidget(widget)) {
|
||||
Logger.log("Settings", `Upgraded ${widget.id} widget:`, JSON.stringify(widget))
|
||||
}
|
||||
// if (upgradeWidget(widget)) {
|
||||
// Logger.log("Settings", `Upgraded ${widget.id} widget:`, JSON.stringify(widget))
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -153,7 +153,7 @@ Singleton {
|
||||
continue
|
||||
}
|
||||
|
||||
if (!widget.hasOwnProperty(k)) {
|
||||
if (widget[k] === undefined) {
|
||||
widget[k] = BarWidgetRegistry.widgetMetadata[widget.id][k]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user