File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
invokeai/frontend/web/src/features/controlLayers/store Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -493,10 +493,10 @@ export const canvasSlice = createSlice({
493
493
494
494
case 'control_lora' : {
495
495
if ( layer . controlAdapter . type === 'controlnet' ) {
496
- const controlLoraConfig : ControlLoRAConfig = { ...layer . controlAdapter , ... initialControlLoRA } ;
496
+ const controlLoraConfig : ControlLoRAConfig = { ...layer . controlAdapter , type : 'control_lora' } ;
497
497
layer . controlAdapter = controlLoraConfig ;
498
498
} else if ( layer . controlAdapter . type === 't2i_adapter' ) {
499
- const controlLoraConfig : ControlLoRAConfig = { ...layer . controlAdapter , ... initialControlLoRA } ;
499
+ const controlLoraConfig : ControlLoRAConfig = { ...layer . controlAdapter , type : 'control_lora' } ;
500
500
layer . controlAdapter = controlLoraConfig ;
501
501
}
502
502
break ;
You can’t perform that action at this time.
0 commit comments