mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
refactor(ui): continue wiring up CA logic across (wip)
It works!
This commit is contained in:
committed by
Kent Keirsey
parent
0e55488ff6
commit
905baf2787
@ -5,9 +5,6 @@ import { useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
const selectValidLayerCount = createSelector(selectControlLayersSlice, (controlLayers) => {
|
||||
if (!controlLayers.present.isEnabled) {
|
||||
return 0;
|
||||
}
|
||||
const validLayers = controlLayers.present.layers
|
||||
.filter(isRegionalGuidanceLayer)
|
||||
.filter((l) => l.isEnabled)
|
||||
|
Reference in New Issue
Block a user