mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
Fix lora page header
This commit is contained in:
@@ -10,7 +10,6 @@ import { showToast } from '../utils/uiHelpers.js';
|
||||
|
||||
export class LoraSearchManager extends SearchManager {
|
||||
constructor(options = {}) {
|
||||
console.log("initializing lora search manager");
|
||||
super({
|
||||
page: 'loras',
|
||||
...options
|
||||
|
||||
@@ -34,10 +34,10 @@ export class UpdateService {
|
||||
});
|
||||
|
||||
// Set up event listener for update button
|
||||
const updateToggle = document.getElementById('updateToggleBtn');
|
||||
if (updateToggle) {
|
||||
updateToggle.addEventListener('click', () => this.toggleUpdateModal());
|
||||
}
|
||||
// const updateToggle = document.getElementById('updateToggleBtn');
|
||||
// if (updateToggle) {
|
||||
// updateToggle.addEventListener('click', () => this.toggleUpdateModal());
|
||||
// }
|
||||
|
||||
// Immediately update modal content with current values (even if from default)
|
||||
this.updateModalContent();
|
||||
@@ -226,10 +226,6 @@ export class UpdateService {
|
||||
});
|
||||
}
|
||||
|
||||
showUpdateModal() {
|
||||
this.toggleUpdateModal();
|
||||
}
|
||||
|
||||
async manualCheckForUpdates() {
|
||||
this.lastCheckTime = 0; // Reset last check time to force check
|
||||
await this.checkForUpdates();
|
||||
|
||||
Reference in New Issue
Block a user