mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-24 22:41:26 -03:00
fix(ui): show empty folders as move and download destinations (#999)
This commit is contained in:
@@ -200,8 +200,9 @@ class MoveManager {
|
||||
async initializeFolderTree() {
|
||||
try {
|
||||
const apiClient = this._getApiClient();
|
||||
// Fetch unified folder tree
|
||||
const treeData = await apiClient.fetchUnifiedFolderTree();
|
||||
// Fetch unified folder tree, including empty directories so they
|
||||
// can be selected as move targets
|
||||
const treeData = await apiClient.fetchUnifiedFolderTree({ includeEmpty: true });
|
||||
|
||||
if (treeData.success) {
|
||||
// Load tree data into folder tree manager
|
||||
|
||||
Reference in New Issue
Block a user