mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
feat: add update badge to model modal versions tab
- Add CSS styling for tab badges with update indicator animation - Include update_available flag in model data parsing - Display animated badge on versions tab when updates are available - Improve tab button layout with flexbox alignment and spacing
This commit is contained in:
@@ -287,6 +287,7 @@ async function showModelModalFromCard(card, modelType) {
|
||||
// Parse civitai metadata from the card's dataset
|
||||
civitai: JSON.parse(card.dataset.meta || '{}'),
|
||||
tags: JSON.parse(card.dataset.tags || '[]'),
|
||||
update_available: card.dataset.update_available === 'true',
|
||||
modelDescription: card.dataset.modelDescription || '',
|
||||
// LoRA specific fields
|
||||
...(modelType === MODEL_TYPES.LORA && {
|
||||
|
||||
Reference in New Issue
Block a user