don't render hidden widgets in default (non edit) mode

This commit is contained in:
chfhtw
2026-04-08 15:55:56 +02:00
parent 290564fd2f
commit 57e7ad6903
+3 -1
View File
@@ -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: {