diff --git a/frontend/src/components/canvas/components/Editor/ContextMenu.vue b/frontend/src/components/canvas/components/Editor/ContextMenu.vue index 2806cec0df..e3fddce02d 100644 --- a/frontend/src/components/canvas/components/Editor/ContextMenu.vue +++ b/frontend/src/components/canvas/components/Editor/ContextMenu.vue @@ -94,6 +94,7 @@ export default { this.deleteCurCondition() this.$store.commit('deleteComponent') this.$store.commit('recordSnapshot') + this.$store.commit('setCurComponent', { component: null, index: null }) }, deleteCurCondition() {