fix(ui): incorrect batch origin preventing progress/staging

This commit is contained in:
psychedelicious 2024-08-29 21:37:11 +10:00
parent 284f768810
commit d43e2d690e
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ export const buildOnInvocationComplete = (
// Update the node execution states - the image output is handled below
if (data.origin === 'workflows') {
await handleOriginWorkflows(data);
} else if (data.origin === 'canvas') {
} else if (data.origin === 'generation') {
await handleOriginCanvas(data);
} else {
await handleOriginOther(data);

View File

@ -131,7 +131,7 @@ export const setEventListeners = ({ socket, dispatch, getState, setIsConnected }
}
}
if (origin === 'canvas' && destination === 'canvas') {
if (origin === 'generation' && destination === 'canvas') {
$lastCanvasProgressEvent.set(data);
}
});