From e2e57539d6cd24f6dfcc34334af484e1a2963c97 Mon Sep 17 00:00:00 2001 From: MedAliMarz Date: Sat, 17 Jul 2021 09:00:39 +0200 Subject: [PATCH] :bug: Change the dirty state after deleting a workflow (#1992) --- packages/editor-ui/src/components/MainSidebar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/editor-ui/src/components/MainSidebar.vue b/packages/editor-ui/src/components/MainSidebar.vue index 9a615abccc..cadabe7884 100644 --- a/packages/editor-ui/src/components/MainSidebar.vue +++ b/packages/editor-ui/src/components/MainSidebar.vue @@ -395,6 +395,7 @@ export default mixins( this.$showError(error, 'Problem deleting the workflow', 'There was a problem deleting the workflow:'); return; } + this.$store.commit('setStateDirty', false); // Reset tab title since workflow is deleted. this.$titleReset(); this.$showMessage({