mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Mark workflow as unsaved when reverting deletion of a node (#15959)
This commit is contained in:
@@ -436,6 +436,7 @@ export function useCanvasOperations() {
|
|||||||
|
|
||||||
function revertDeleteNode(node: INodeUi) {
|
function revertDeleteNode(node: INodeUi) {
|
||||||
workflowsStore.addNode(node);
|
workflowsStore.addNode(node);
|
||||||
|
uiStore.stateIsDirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function trackDeleteNode(id: string) {
|
function trackDeleteNode(id: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user