mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): invocation error toasts do not autoclose
This commit is contained in:
parent
29e1ea59fc
commit
624d28a93d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user