mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): restore canvas functionality
This commit is contained in:
committed by
Kent Keirsey
parent
010f63a50d
commit
29c952dcf6
@ -38,7 +38,6 @@ export const invocationStarted = createAction<
|
||||
export const invocationComplete = createAction<
|
||||
BaseSocketPayload & {
|
||||
data: InvocationCompleteEvent;
|
||||
shouldFetchImages: boolean;
|
||||
}
|
||||
>('socket/invocationComplete');
|
||||
|
||||
|
@ -165,7 +165,6 @@ export const setEventListeners = (arg: SetEventListenersArg) => {
|
||||
const sessionId = data.graph_execution_state_id;
|
||||
|
||||
const { cancelType, isCancelScheduled } = getState().system;
|
||||
const { shouldFetchImages } = getState().config;
|
||||
|
||||
// Handle scheduled cancelation
|
||||
if (cancelType === 'scheduled' && isCancelScheduled) {
|
||||
@ -176,7 +175,6 @@ export const setEventListeners = (arg: SetEventListenersArg) => {
|
||||
invocationComplete({
|
||||
data,
|
||||
timestamp: getTimestamp(),
|
||||
shouldFetchImages,
|
||||
})
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user