We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1010c98 commit 80d7d69Copy full SHA for 80d7d69
invokeai/frontend/web/src/features/controlLayers/store/lorasSlice.ts
@@ -37,6 +37,7 @@ export const lorasSlice = createSlice({
37
},
38
loraRecalled: (state, action: PayloadAction<{ lora: LoRA }>) => {
39
const { lora } = action.payload;
40
+ state.loras = state.loras.filter((l) => l.model.key !== lora.model.key && l.id !== lora.id);
41
state.loras.push(lora);
42
43
loraDeleted: (state, action: PayloadAction<{ id: string }>) => {
0 commit comments