mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
feat: Add closeDropdown method to manage dropdown state in SidebarManager
This commit is contained in:
@@ -398,6 +398,13 @@ export class SidebarManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closeDropdown() {
|
||||||
|
if (this.openDropdown) {
|
||||||
|
this.openDropdown.classList.remove('open');
|
||||||
|
this.openDropdown = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async selectFolder(path) {
|
async selectFolder(path) {
|
||||||
// Update selected path
|
// Update selected path
|
||||||
this.selectedPath = path;
|
this.selectedPath = path;
|
||||||
|
|||||||
Reference in New Issue
Block a user