From 0ef18b6477e70508557b8643fea17f05d7b41d00 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:45:45 +1100 Subject: [PATCH] fix(ui): enable lora when recalling Closes #5698 --- invokeai/frontend/web/src/features/lora/store/loraSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/lora/store/loraSlice.ts b/invokeai/frontend/web/src/features/lora/store/loraSlice.ts index b3c63f2e0f..ab1b140a7c 100644 --- a/invokeai/frontend/web/src/features/lora/store/loraSlice.ts +++ b/invokeai/frontend/web/src/features/lora/store/loraSlice.ts @@ -35,7 +35,7 @@ export const loraSlice = createSlice({ }, loraRecalled: (state, action: PayloadAction) => { const { model_name, id, base_model, weight } = action.payload; - state.loras[id] = { id, model_name, base_model, weight }; + state.loras[id] = { id, model_name, base_model, weight, isEnabled: true }; }, loraRemoved: (state, action: PayloadAction) => { const id = action.payload;