mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
fix: update LoRA model type check to use constant for improved readability, fixes #341
This commit is contained in:
@@ -241,7 +241,7 @@ function showModelModalFromCard(card, modelType) {
|
||||
tags: JSON.parse(card.dataset.tags || '[]'),
|
||||
modelDescription: card.dataset.modelDescription || '',
|
||||
// LoRA specific fields
|
||||
...(modelType === 'lora' && {
|
||||
...(modelType === MODEL_TYPES.LORA && {
|
||||
usage_tips: card.dataset.usage_tips,
|
||||
})
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user