Settings: fixed faulty widget upgrade

This commit is contained in:
LemmyCook
2025-09-08 08:59:30 -04:00
parent 3271fa1d23
commit 8c115b8bb0
+4 -4
View File
@@ -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]
}
}