mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 07:05:43 -03:00
fix(BulkManager): streamline cleanupBulkBaseModelModal to clear base model select options
This commit is contained in:
@@ -959,19 +959,9 @@ export class BulkManager {
|
|||||||
* Cleanup bulk base model modal
|
* Cleanup bulk base model modal
|
||||||
*/
|
*/
|
||||||
cleanupBulkBaseModelModal() {
|
cleanupBulkBaseModelModal() {
|
||||||
const modal = document.getElementById('bulkBaseModelModal');
|
const select = document.getElementById('bulkBaseModelSelect');
|
||||||
if (modal) {
|
if (select) {
|
||||||
// Clear existing tags
|
select.innerHTML = '';
|
||||||
const tagsContainer = modal.querySelector('.bulk-tags');
|
|
||||||
if (tagsContainer) {
|
|
||||||
tagsContainer.innerHTML = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Clear dropdown
|
|
||||||
const dropdown = modal.querySelector('.bulk-suggestions-dropdown');
|
|
||||||
if (dropdown) {
|
|
||||||
dropdown.innerHTML = '';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user