From 624d28a93d9ec686d05ce361b501cbad79d20fe5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 22 May 2024 05:53:45 +1000 Subject: [PATCH] feat(ui): invocation error toasts do not autoclose --- .../listeners/socketio/socketInvocationError.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts index c2d85395e9..9a064ed989 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts @@ -33,6 +33,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe id: 'INVOCATION_ERROR', title: t('toast.outOfMemoryError'), status: 'error', + duration: null, description: ToastWithSessionRefDescription({ message: t('toast.outOfMemoryDescription'), sessionId, @@ -43,6 +44,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe id: `INVOCATION_ERROR_${errorType}`, title: t('toast.serverError'), status: 'error', + duration: null, description: ToastWithSessionRefDescription({ message: errorType, sessionId,