mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 15:44:28 +00:00
fix(webui): resolve folder tree sync, search dialog reset, and sidebar actions issues
- Change query key invalidation of folders to the generic ['folders'] key to update the sidebar tree on create/rename/delete/move - Separate search box from custom filters reset button in search dialog - Remove unused plus icon from Assets sidebar header - Add dropdown menu (rename, download, delete) to subfolder tree items in the sidebar
This commit is contained in:
@@ -299,7 +299,7 @@ export function useFileSystemDnd({
|
||||
queryKey: ['search', teamId, assetId],
|
||||
})
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ['folders', teamId],
|
||||
queryKey: ['folders'],
|
||||
})
|
||||
// Clear selection after move
|
||||
onClearSelection()
|
||||
|
||||
Reference in New Issue
Block a user