mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
checkpoint
This commit is contained in:
@@ -175,6 +175,8 @@ export class ImportManager {
|
||||
|
||||
// Get recipe data from response
|
||||
this.recipeData = await response.json();
|
||||
|
||||
console.log('Recipe data:', this.recipeData);
|
||||
|
||||
// Check if we have an error message
|
||||
if (this.recipeData.error) {
|
||||
|
||||
@@ -81,6 +81,15 @@ export class ModalManager {
|
||||
}
|
||||
});
|
||||
|
||||
// Add recipeModal registration
|
||||
this.registerModal('recipeModal', {
|
||||
element: document.getElementById('recipeModal'),
|
||||
onClose: () => {
|
||||
this.getModal('recipeModal').element.style.display = 'none';
|
||||
document.body.classList.remove('modal-open');
|
||||
}
|
||||
});
|
||||
|
||||
// Set up event listeners for modal toggles
|
||||
const supportToggle = document.getElementById('supportToggleBtn');
|
||||
if (supportToggle) {
|
||||
|
||||
Reference in New Issue
Block a user