fix(recipes): update cards in-place after LoRA download, preventing scroll reset

This commit is contained in:
Will Miao
2026-07-29 09:12:09 +08:00
parent 656e24ac9b
commit 0d8805cdee
3 changed files with 21 additions and 4 deletions

View File

@@ -1421,6 +1421,7 @@ class RecipeModal {
strength: lora.strength || 1.0,
// Model identifiers
modelId: lora.modelId || lora.model_id || civitaiInfo.modelId,
hash: modelFile?.hashes?.SHA256?.toLowerCase() || lora.hash,
id: civitaiInfo.id || lora.modelVersionId,