diff --git a/src/app/components/MediaManager.tsx b/src/app/components/MediaManager.tsx
index 05664d1..9457fbe 100644
--- a/src/app/components/MediaManager.tsx
+++ b/src/app/components/MediaManager.tsx
@@ -6,7 +6,8 @@ import {
BookOpen,
Braces,
Check,
- CheckSquare,
+
+ ChevronDown,
ChevronLeft,
ChevronRight,
ClipboardPaste,
@@ -207,9 +208,7 @@ interface FolderManagementActions {
onUpload: () => void;
clipboard: Clipboard | null;
onPaste: () => void;
- selectedCount: number;
- totalCount: number;
- onSelectAll: () => void;
+
isRoot: boolean;
}
@@ -278,11 +277,6 @@ function ActionsModal({ entry, onClose, onOpen, onMount, onDownload, onDuplicate
{fm.clipboard.op === 'copy' ? 'Copy' : 'Move'} {fm.clipboard.paths.length} item{fm.clipboard.paths.length !== 1 ? 's' : ''} here
)}
-
{!fm.isRoot &&
}
>
)}
@@ -435,6 +429,7 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
const [actionEntry, setActionEntry] = useState(null);
const [folderActionOpen, setFolderActionOpen] = useState(false);
const [dragOver, setDragOver] = useState(false);
+ const [showFilter, setShowFilter] = useState(false);
const [showNewFile, setShowNewFile] = useState(false);
const [newFileName, setNewFileName] = useState('');
@@ -984,15 +979,6 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
-
-
-
@@ -1042,6 +1028,13 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
)}
+
{(folderConfig?.['base_url']) && (
@@ -1107,10 +1100,11 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
)}
+
{/* ── Filter + sort bar ── */}
-
+ {showFilter &&
}
{/* ── Selection / clipboard bar ── */}
{(selCount > 0 || clipboard) && (
@@ -1308,9 +1302,7 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
onUpload: () => fileInputRef.current?.click(),
clipboard,
onPaste: () => void paste(),
- selectedCount: selected.size,
- totalCount: visible.length,
- onSelectAll: selectAll,
+
isRoot: path === (rootPath ?? '/'),
} : undefined}
/>