fix(ui): show uncategorized board when private boards disabled

This commit is contained in:
psychedelicious 2024-07-09 22:02:54 +10:00
parent 81cf47dd99
commit 2faf1e2ed3

View File

@ -81,7 +81,7 @@ const BoardsList = () => {
options={overlayScrollbarsParams.options}
>
<Flex direction="column" maxH={346} gap={1}>
<NoBoardBoard isSelected={selectedBoardId === 'none'} />
{allowPrivateBoards && <NoBoardBoard isSelected={selectedBoardId === 'none'} />}
{filteredPrivateBoards.map((board) => (
<GalleryBoard
board={board}
@ -114,6 +114,7 @@ const BoardsList = () => {
<Collapse in={sharedBoardsDisclosure.isOpen} animateOpacity>
<OverlayScrollbarsComponent defer style={overlayScrollbarsStyles} options={overlayScrollbarsParams.options}>
<Flex direction="column" maxH={346} gap={1}>
{!allowPrivateBoards && <NoBoardBoard isSelected={selectedBoardId === 'none'} />}
{filteredSharedBoards.map((board) => (
<GalleryBoard
board={board}