mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-25 15:01:27 -03:00
fix(ui): show empty folders as move and download destinations (#999)
This commit is contained in:
@@ -92,6 +92,12 @@ describe('MoveManager', () => {
|
||||
expect(moveManager.folderTreeManager.getSelectedPath()).toBe('');
|
||||
});
|
||||
|
||||
it('should fetch the folder tree including empty directories', async () => {
|
||||
await moveManager.initializeFolderTree();
|
||||
|
||||
expect(mockApiClient.fetchUnifiedFolderTree).toHaveBeenCalledWith({ includeEmpty: true });
|
||||
});
|
||||
|
||||
it('should ignore manual folder selection when useDefaultPath is true', async () => {
|
||||
// Setup state
|
||||
moveManager.useDefaultPath = true;
|
||||
|
||||
Reference in New Issue
Block a user