From 3ab7a61a47bf06e28b532e88d30b7fa01f46472d Mon Sep 17 00:00:00 2001 From: chfhtw Date: Wed, 22 Apr 2026 10:03:13 +0200 Subject: [PATCH] handle additionalRow disabling outside Grid.js and recreate behavior before commit a8f680810ffaaf5e538872a402f570fb86b136d4 --- public/js/components/Dashboard/Section.js | 9 +++++++-- public/js/components/Drop/Grid.js | 16 +++------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/public/js/components/Dashboard/Section.js b/public/js/components/Dashboard/Section.js index b01658182..95a6e4731 100644 --- a/public/js/components/Dashboard/Section.js +++ b/public/js/components/Dashboard/Section.js @@ -40,7 +40,7 @@ export default { configOpened: false, gridWidth: 1, gridHeight: null, - additionalRow:false + additionalRow: false }; }, provide() { @@ -124,6 +124,11 @@ export default { return placedItems.filter(item => !item.hidden); } }, + watch: { + items() { + this.additionalRow = false; + } + }, methods: { handleConfigOpened() { this.configOpened = true @@ -217,7 +222,7 @@ export default { >+