Skip to content

Commit 624d28a

Browse files
feat(ui): invocation error toasts do not autoclose
1 parent 29e1ea5 commit 624d28a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
3333
id: 'INVOCATION_ERROR',
3434
title: t('toast.outOfMemoryError'),
3535
status: 'error',
36+
duration: null,
3637
description: ToastWithSessionRefDescription({
3738
message: t('toast.outOfMemoryDescription'),
3839
sessionId,
@@ -43,6 +44,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
4344
id: `INVOCATION_ERROR_${errorType}`,
4445
title: t('toast.serverError'),
4546
status: 'error',
47+
duration: null,
4648
description: ToastWithSessionRefDescription({
4749
message: errorType,
4850
sessionId,

0 commit comments

Comments
 (0)