mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): enable duplicated control adapter
This commit is contained in:
parent
b57ebe52e4
commit
3e93159bce
@ -195,6 +195,7 @@ export const controlAdaptersSlice = createSlice({
|
|||||||
}
|
}
|
||||||
const newControlAdapter = merge(cloneDeep(controlAdapter), {
|
const newControlAdapter = merge(cloneDeep(controlAdapter), {
|
||||||
id: newId,
|
id: newId,
|
||||||
|
isEnabled: true,
|
||||||
});
|
});
|
||||||
caAdapter.addOne(state, newControlAdapter);
|
caAdapter.addOne(state, newControlAdapter);
|
||||||
const { type } = newControlAdapter;
|
const { type } = newControlAdapter;
|
||||||
|
Loading…
Reference in New Issue
Block a user