From 88c4a04aea3cd187ffd23a6c134b19147181b300 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Mon, 14 Apr 2025 14:57:14 +0200 Subject: [PATCH] fix(Dashboard widget resize position): when resizing an widget without saved position it would save it with x:0 and y:0 --- public/js/composables/GridLogic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/composables/GridLogic.js b/public/js/composables/GridLogic.js index d6b6d4723..4fb4f847f 100644 --- a/public/js/composables/GridLogic.js +++ b/public/js/composables/GridLogic.js @@ -164,7 +164,7 @@ class GridLogic { currItem.frame = this.getItemFrame(currItem); const updates = this.add(currItem); - updates[item.index] = {index: item.index, w, h, resize:true}; + updates[item.index] = {index: item.index, w, h, x:item.x, y:item.y, resize:true}; return updates; }