mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-28 21:49:40 +02:00
feat: integrate subtree ID retrieval in local folder cleanup process and enhance UI component styling for folder selection
This commit is contained in:
parent
cab0d1bdfe
commit
f3aa514240
2 changed files with 6 additions and 2 deletions
|
|
@ -861,8 +861,12 @@ async def index_local_folder(
|
|||
|
||||
root_fid = folder_mapping.get("")
|
||||
if root_fid:
|
||||
from app.services.folder_service import get_folder_subtree_ids
|
||||
|
||||
subtree_ids = await get_folder_subtree_ids(session, root_fid)
|
||||
await _cleanup_empty_folders(
|
||||
session, root_fid, search_space_id, existing_dirs, folder_mapping
|
||||
session, root_fid, search_space_id, existing_dirs, folder_mapping,
|
||||
subtree_ids=subtree_ids,
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue