mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-03-13 10:20:29 +01:00
fix(ui): conditional display of message
This commit is contained in:
parent
c1d230f961
commit
98a44fa4d7
@ -147,12 +147,13 @@ const DeleteBoardModal = () => {
|
||||
bottomMessage={t('boards.bottomMessage')}
|
||||
/>
|
||||
)}
|
||||
<Text>
|
||||
{boardToDelete !== 'none' &&
|
||||
(boardToDelete.is_private
|
||||
{boardToDelete !== 'none' && (
|
||||
<Text>
|
||||
{boardToDelete.is_private
|
||||
? t('boards.deletedPrivateBoardsCannotbeRestored')
|
||||
: t('boards.deletedBoardsCannotbeRestored'))}
|
||||
</Text>
|
||||
: t('boards.deletedBoardsCannotbeRestored')}
|
||||
</Text>
|
||||
)}
|
||||
<Text>{t('gallery.deleteImagePermanent')}</Text>
|
||||
</Flex>
|
||||
</AlertDialogBody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user