From 2d5cc1fd7ce00950dea72f21e2055efea9d8498b Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 7 Dec 2025 01:35:21 +0100 Subject: [PATCH] fix --- .../src/documents/features/selection/SelectionFolderMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/documents/features/selection/SelectionFolderMenu.tsx b/frontend/src/documents/features/selection/SelectionFolderMenu.tsx index f607888..55c6659 100644 --- a/frontend/src/documents/features/selection/SelectionFolderMenu.tsx +++ b/frontend/src/documents/features/selection/SelectionFolderMenu.tsx @@ -75,7 +75,7 @@ const SelectionFolderMenu: React.FC = ({ return undefined; } setQuery(''); - setCurrentFolderId(null); + setCurrentFolderId('root'); setPending(false); const frame = requestAnimationFrame(() => { updatePosition(); @@ -216,7 +216,7 @@ const SelectionFolderMenu: React.FC = ({ {!isSearching && (
- {currentFolderId ? ( + {currentFolderId && currentFolderId !== 'root' ? (