mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 14:04:50 +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:
@@ -222,9 +222,6 @@ export function SearchFilterDialog({
|
||||
|
||||
const handleClearFilters = () => {
|
||||
setConditions([])
|
||||
setSearchInput('')
|
||||
setTriggerQuery('')
|
||||
setIsSemantic(false)
|
||||
}
|
||||
|
||||
const formatTimestamp = (seconds: number) => {
|
||||
@@ -351,7 +348,7 @@ export function SearchFilterDialog({
|
||||
)}
|
||||
</div>
|
||||
|
||||
{(activeFiltersCount > 0 || searchInput) && (
|
||||
{activeFiltersCount > 0 && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user