From 57e7ad69034d04457e7b90d60a1aa7f74e3ec2ad Mon Sep 17 00:00:00 2001 From: chfhtw Date: Wed, 8 Apr 2026 15:55:56 +0200 Subject: [PATCH] don't render hidden widgets in default (non edit) mode --- public/js/components/Dashboard/Section.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/components/Dashboard/Section.js b/public/js/components/Dashboard/Section.js index adac53c3c..e04cc2473 100644 --- a/public/js/components/Dashboard/Section.js +++ b/public/js/components/Dashboard/Section.js @@ -86,7 +86,9 @@ export default { return { ...item, ...(item.place[this.gridWidth] || { x: 0, y: 0, w: 1, h: 1 }) }; }); - return placedItems; + if (this.editModeIsActive) + return placedItems; + return placedItems.filter(item => !item.hidden); } }, methods: {