dashboard: clean up previous

This commit is contained in:
Stephan de Wit 2024-08-05 11:10:52 +02:00
parent 4bd6ad3cde
commit 7b53fc7fa7

View File

@ -198,7 +198,7 @@ class WidgetManager {
let content = widget.getMarkup();
let $panel = this._makeWidget(id, this.widgetTranslations[id].title, content);
let options = widget.getGridOptions(persistedConfig);
let options = widget.getGridOptions();
if ('sizeToContent' in options && 'h' in persistedConfig) {
// override the sizeToContent option with the persisted height to allow for manual resizing with scrollbar