Skip to content

Commit 9cf7293

Browse files
authored
fix(editor): Mark workflow as unsaved when reverting deletion of a node (#15959)
1 parent c92701c commit 9cf7293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/frontend/editor-ui/src/composables/useCanvasOperations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ export function useCanvasOperations() {
436436

437437
function revertDeleteNode(node: INodeUi) {
438438
workflowsStore.addNode(node);
439+
uiStore.stateIsDirty = true;
439440
}
440441

441442
function trackDeleteNode(id: string) {

0 commit comments

Comments
 (0)