diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addLoRAsToGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addLoRAsToGraph.ts index a105a123d8..dd4b713196 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addLoRAsToGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addLoRAsToGraph.ts @@ -42,8 +42,8 @@ export const addLoRAsToGraph = ( let currentLoraIndex = 0; forEach(loras, (lora) => { - const { name, weight } = lora; - const loraField = modelIdToLoRAModelField(name); + const { id, name, weight } = lora; + const loraField = modelIdToLoRAModelField(id); const currentLoraNodeId = `${LORA_LOADER}_${loraField.model_name.replace( '.', '_'