diff --git a/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts b/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts index cfd9fa8ef8..2218530c31 100644 --- a/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts +++ b/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts @@ -651,6 +651,10 @@ export const nodesUndoableConfig: UndoableOptions = { return null; }, filter: (action, _state, _history) => { + // Ignore all actions from other slices + if (!action.type.startsWith(nodesSlice.name)) { + return false; + } if (nodesChanged.match(action)) { if (action.payload.every((change) => change.type === 'dimensions')) { return false;