mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
8a791d4f16
commit
cf1883585d
@ -245,10 +245,7 @@ export const controlLayersSlice = createSlice({
|
|||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#region CA Layers
|
//#region CA Layers
|
||||||
isFilterEnabledChanged: (
|
isFilterEnabledChanged: (state, action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>) => {
|
||||||
state,
|
|
||||||
action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>
|
|
||||||
) => {
|
|
||||||
const { layerId, isFilterEnabled } = action.payload;
|
const { layerId, isFilterEnabled } = action.payload;
|
||||||
const layer = state.layers.filter(isControlAdapterLayer).find((l) => l.id === layerId);
|
const layer = state.layers.filter(isControlAdapterLayer).find((l) => l.id === layerId);
|
||||||
if (layer) {
|
if (layer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user