From b6f9d53a2999b70dd87e76aeb60bdfa3e45277cc Mon Sep 17 00:00:00 2001 From: chfhtw Date: Fri, 9 Oct 2026 09:18:13 +0200 Subject: [PATCH] Bugfix: Allow all widgets for admin --- public/js/components/Dashboard/Admin/Presets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/components/Dashboard/Admin/Presets.js b/public/js/components/Dashboard/Admin/Presets.js index 042286ab7..91a4d54e2 100644 --- a/public/js/components/Dashboard/Admin/Presets.js +++ b/public/js/components/Dashboard/Admin/Presets.js @@ -22,7 +22,7 @@ export default { }, computed: { pickerWidgets() { - return this.widgets.filter(widget => widget.allowed); + return this.widgets.filter(widget => widget.allowed).map(widget => ({ ...widget, permitted: true })); }, sizeLimits() { return Object.fromEntries(this.widgets.map(({ setup, widget_id: type }) => {