mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-04-12 05:42:14 -03:00
feat(doctor): add system diagnostics feature
This commit is contained in:
@@ -84,6 +84,18 @@ export class ModalManager {
|
||||
});
|
||||
}
|
||||
|
||||
const doctorModal = document.getElementById('doctorModal');
|
||||
if (doctorModal) {
|
||||
this.registerModal('doctorModal', {
|
||||
element: doctorModal,
|
||||
onClose: () => {
|
||||
this.getModal('doctorModal').element.style.display = 'none';
|
||||
document.body.classList.remove('modal-open');
|
||||
},
|
||||
closeOnOutsideClick: true
|
||||
});
|
||||
}
|
||||
|
||||
// Add moveModal registration
|
||||
const moveModal = document.getElementById('moveModal');
|
||||
if (moveModal) {
|
||||
@@ -451,4 +463,4 @@ export class ModalManager {
|
||||
}
|
||||
|
||||
// Create and export a singleton instance
|
||||
export const modalManager = new ModalManager();
|
||||
export const modalManager = new ModalManager();
|
||||
|
||||
Reference in New Issue
Block a user