mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): incorrect batch origin preventing progress/staging
This commit is contained in:
parent
284f768810
commit
d43e2d690e
@ -154,7 +154,7 @@ export const buildOnInvocationComplete = (
|
|||||||
// Update the node execution states - the image output is handled below
|
// Update the node execution states - the image output is handled below
|
||||||
if (data.origin === 'workflows') {
|
if (data.origin === 'workflows') {
|
||||||
await handleOriginWorkflows(data);
|
await handleOriginWorkflows(data);
|
||||||
} else if (data.origin === 'canvas') {
|
} else if (data.origin === 'generation') {
|
||||||
await handleOriginCanvas(data);
|
await handleOriginCanvas(data);
|
||||||
} else {
|
} else {
|
||||||
await handleOriginOther(data);
|
await handleOriginOther(data);
|
||||||
|
@ -131,7 +131,7 @@ export const setEventListeners = ({ socket, dispatch, getState, setIsConnected }
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (origin === 'canvas' && destination === 'canvas') {
|
if (origin === 'generation' && destination === 'canvas') {
|
||||||
$lastCanvasProgressEvent.set(data);
|
$lastCanvasProgressEvent.set(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user