mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-25 04:21:17 -03:00
feat(vlm): sort versions by newest first in VLM view, with disabled sort dropdown
When viewing all versions of a model (VLM mode via 'x versions' button): - Backend always sorts by version ID descending, ignoring current sort_by - A temporary 'Newest version first' option is injected into the sort dropdown (removed on exit, not a permanent option) - The sort dropdown is disabled (greyed out) while VLM is active - On clearing VLM, the previous sort preference is restored and the dropdown re-enabled - Handles stale VLM state (e.g. after page reload with leftover session) - Covers all three model page types: loras, checkpoints, embeddings Also fixes review nits: - Correct i18n call pattern (defaultValue in options object) - Shared _restoreSortAfterVlm() helper to avoid triple duplication
This commit is contained in:
@@ -682,7 +682,8 @@
|
||||
"usageAsc": "적은 순",
|
||||
"versionsCount": "로컬 버전 수",
|
||||
"versionsCountDesc": "버전 수 많은 순",
|
||||
"versionsCountAsc": "버전 수 적은 순"
|
||||
"versionsCountAsc": "버전 수 적은 순",
|
||||
"versionIdDesc": "최신 버전순"
|
||||
},
|
||||
"refresh": {
|
||||
"title": "모델 목록 새로고침",
|
||||
|
||||
Reference in New Issue
Block a user