mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): show uncategorized board when private boards disabled
This commit is contained in:
parent
81cf47dd99
commit
2faf1e2ed3
@ -81,7 +81,7 @@ const BoardsList = () => {
|
|||||||
options={overlayScrollbarsParams.options}
|
options={overlayScrollbarsParams.options}
|
||||||
>
|
>
|
||||||
<Flex direction="column" maxH={346} gap={1}>
|
<Flex direction="column" maxH={346} gap={1}>
|
||||||
<NoBoardBoard isSelected={selectedBoardId === 'none'} />
|
{allowPrivateBoards && <NoBoardBoard isSelected={selectedBoardId === 'none'} />}
|
||||||
{filteredPrivateBoards.map((board) => (
|
{filteredPrivateBoards.map((board) => (
|
||||||
<GalleryBoard
|
<GalleryBoard
|
||||||
board={board}
|
board={board}
|
||||||
@ -114,6 +114,7 @@ const BoardsList = () => {
|
|||||||
<Collapse in={sharedBoardsDisclosure.isOpen} animateOpacity>
|
<Collapse in={sharedBoardsDisclosure.isOpen} animateOpacity>
|
||||||
<OverlayScrollbarsComponent defer style={overlayScrollbarsStyles} options={overlayScrollbarsParams.options}>
|
<OverlayScrollbarsComponent defer style={overlayScrollbarsStyles} options={overlayScrollbarsParams.options}>
|
||||||
<Flex direction="column" maxH={346} gap={1}>
|
<Flex direction="column" maxH={346} gap={1}>
|
||||||
|
{!allowPrivateBoards && <NoBoardBoard isSelected={selectedBoardId === 'none'} />}
|
||||||
{filteredSharedBoards.map((board) => (
|
{filteredSharedBoards.map((board) => (
|
||||||
<GalleryBoard
|
<GalleryBoard
|
||||||
board={board}
|
board={board}
|
||||||
|
Loading…
Reference in New Issue
Block a user