fix(ui): enable duplicated control adapter

This commit is contained in:
psychedelicious 2023-10-06 19:10:25 +11:00
parent b57ebe52e4
commit 3e93159bce

View File

@ -195,6 +195,7 @@ export const controlAdaptersSlice = createSlice({
}
const newControlAdapter = merge(cloneDeep(controlAdapter), {
id: newId,
isEnabled: true,
});
caAdapter.addOne(state, newControlAdapter);
const { type } = newControlAdapter;