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',
|
id: 'INVOCATION_ERROR',
|
||||||
title: t('toast.outOfMemoryError'),
|
title: t('toast.outOfMemoryError'),
|
||||||
status: 'error',
|
status: 'error',
|
||||||
|
duration: null,
|
||||||
description: ToastWithSessionRefDescription({
|
description: ToastWithSessionRefDescription({
|
||||||
message: t('toast.outOfMemoryDescription'),
|
message: t('toast.outOfMemoryDescription'),
|
||||||
sessionId,
|
sessionId,
|
||||||
@ -43,6 +44,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
|
|||||||
id: `INVOCATION_ERROR_${errorType}`,
|
id: `INVOCATION_ERROR_${errorType}`,
|
||||||
title: t('toast.serverError'),
|
title: t('toast.serverError'),
|
||||||
status: 'error',
|
status: 'error',
|
||||||
|
duration: null,
|
||||||
description: ToastWithSessionRefDescription({
|
description: ToastWithSessionRefDescription({
|
||||||
message: errorType,
|
message: errorType,
|
||||||
sessionId,
|
sessionId,
|
||||||
|
Loading…
Reference in New Issue
Block a user