From 3cbf7949c352612152a6e1b0d050a37b6cc64df0 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 29 Dec 2021 22:14:11 +0000 Subject: [PATCH] :bug: Fixes tile move bug (#366) Closes #366. This issue was caused by item IDs not being regenerated after the previous move, causing the second part of the move operation (delete previous) to fail. It was fixed by calling regenerate item IDs after item removal --- src/store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store.js b/src/store.js index 4d3dbf85..5cb0be23 100644 --- a/src/store.js +++ b/src/store.js @@ -205,6 +205,7 @@ const store = new Vuex.Store({ }); } }); + config.sections = applyItemId(config.sections); state.config = config; }, [SET_THEME](state, theme) {