fix(ui): ensure origin is set correctly for generate tab batches

This prevents an issue in the image viewer's logic for simulating the
progress image "resolving" to a completed image
This commit is contained in:
psychedelicious
2025-09-04 12:28:27 +10:00
parent 8bcb6648f1
commit c6696d7913

View File

@@ -35,8 +35,6 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
const state = getState();
const destination = 'generate';
const model = state.params.model;
if (!model) {
log.error('No model found in state');
@@ -105,8 +103,8 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
prepend,
seedNode: seed,
positivePromptNode: positivePrompt,
origin: 'canvas',
destination,
origin: 'generate',
destination: 'generate',
})
);