desaturate theme a bit

This commit is contained in:
2025-11-11 21:41:49 +01:00
parent d46951d12e
commit 8e7a2f3d6c
4 changed files with 40 additions and 15 deletions
@@ -28,6 +28,7 @@ const useFolderTreeActions = ({
setDraggedFolderId,
isInvalidFolderDrop,
setCreatingFolder,
clearSelection,
}) => {
const moveFolder = useCallback(
async (folderId, targetFolderId) => {
@@ -173,6 +174,10 @@ const useFolderTreeActions = ({
async (folderId, { replace = false, immediate = false } = {}) => {
const targetId = folderId && folderId !== 'root' ? folderId : 'root';
if (typeof clearSelection === 'function') {
clearSelection();
}
await ensureFolderAncestorsLoaded(targetId);
expandFolderAncestors(targetId);
@@ -186,6 +191,7 @@ const useFolderTreeActions = ({
navigate(path, { replace });
},
[
clearSelection,
ensureFolderAncestorsLoaded,
expandFolderAncestors,
isFilterActive,