mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-21 03:01:27 -03:00
feat(recipes): show the recipe base model in the modal header
Adds a base model pill at the front of the recipe modal's tags row, showing the full base model name (cards keep the abbreviation since their overlay width is constrained). Falls back to a dimmed Unknown so the header layout does not shift when hydration fills the value in. Hydration now also merges base_model. Translated in all 9 locales.
This commit is contained in:
@@ -26,8 +26,13 @@
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Recipe Tags Container (rendered by renderCompactTags) -->
|
||||
<div id="recipeTagsContainer"></div>
|
||||
<!-- Tags row: the base model badge is an independent sibling of the
|
||||
tags container so renderCompactTags re-renders and tag edit mode
|
||||
never touch it. Badge is populated by RecipeModal.syncBaseModelBadge(). -->
|
||||
<div class="recipe-tags-row">
|
||||
<span id="recipeBaseModelBadge" class="base-model-label recipe-base-model-badge" hidden></span>
|
||||
<div id="recipeTagsContainer"></div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="modal-body">
|
||||
|
||||
Reference in New Issue
Block a user