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' ? (