mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-13 02:05:08 -05:00
fix(ui): conditional display of message
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user