mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
if response for bulk download, dont close toast
This commit is contained in:
parent
0fdcc0af65
commit
e45704833e
@ -73,7 +73,13 @@ const BoardContextMenu = ({
|
||||
addToast({
|
||||
title: t('gallery.preparingDownload'),
|
||||
status: 'success',
|
||||
...(response.response ? { description: response.response } : {}),
|
||||
...(response.response
|
||||
? {
|
||||
description: response.response,
|
||||
duration: null,
|
||||
isClosable: true,
|
||||
}
|
||||
: {}),
|
||||
})
|
||||
);
|
||||
} catch {
|
||||
|
@ -59,7 +59,13 @@ const MultipleSelectionMenuItems = () => {
|
||||
addToast({
|
||||
title: t('gallery.preparingDownload'),
|
||||
status: 'success',
|
||||
...(response.response ? { description: response.response } : {}),
|
||||
...(response.response
|
||||
? {
|
||||
description: response.response,
|
||||
duration: null,
|
||||
isClosable: true,
|
||||
}
|
||||
: {}),
|
||||
})
|
||||
);
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user