fix: update restart message for ComfyUI and LoRA Manager after successful update

This commit is contained in:
Will Miao
2025-07-27 21:20:09 +08:00
parent b2ffbe3a68
commit 835584cc85

View File

@@ -358,9 +358,10 @@ export class UpdateService {
<i class="fas fa-check-circle" style="margin-right: 8px;"></i> <i class="fas fa-check-circle" style="margin-right: 8px;"></i>
Successfully updated to ${newVersion}! Successfully updated to ${newVersion}!
<br><br> <br><br>
<small style="opacity: 0.8;"> <div style="opacity: 0.95; color: var(--lora-error); font-size: 1em;">
Please restart ComfyUI to complete the update process. Please restart ComfyUI or LoRA Manager to apply update.<br>
</small> Make sure to reload your browser for both LoRA Manager and ComfyUI.
</div>
</div> </div>
`; `;
} }
@@ -370,10 +371,10 @@ export class UpdateService {
this.updateAvailable = false; this.updateAvailable = false;
// Refresh the modal content // Refresh the modal content
setTimeout(() => { // setTimeout(() => {
this.updateModalContent(); // this.updateModalContent();
this.showUpdateProgress(false); // this.showUpdateProgress(false);
}, 2000); // }, 2000);
} }
// Simple markdown parser for changelog items // Simple markdown parser for changelog items