mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-20 12:31:27 -03:00
fix(download): hide URL step when file dialog opens from versions tab (#1058)
This commit is contained in:
@@ -785,7 +785,10 @@ export class DownloadManager {
|
||||
(version.downloadedFiles || []).map(f => String(f.fileId))
|
||||
);
|
||||
|
||||
document.getElementById('versionStep').style.display = 'none';
|
||||
// Hide every other step — this dialog can be entered directly from
|
||||
// entry points like ModelVersionsTab, where the URL step would
|
||||
// otherwise remain visible (#1058).
|
||||
document.querySelectorAll('.download-step').forEach(step => step.style.display = 'none');
|
||||
document.getElementById('fileSelectionStep').style.display = 'block';
|
||||
|
||||
const nameEl = document.getElementById('fileSelectionVersionName');
|
||||
|
||||
Reference in New Issue
Block a user