File tree 1 file changed +1
-5
lines changed
invokeai/frontend/web/src/features/nodes/store
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { getElement } from 'features/nodes/components/sidePanel/builder/form-man
5
5
import type { NodesState } from 'features/nodes/store/types' ;
6
6
import type { FieldInputInstance } from 'features/nodes/types/field' ;
7
7
import type { AnyNode , InvocationNode , InvocationNodeData } from 'features/nodes/types/invocation' ;
8
- import { isBatchNode , isGeneratorNode , isInvocationNode } from 'features/nodes/types/invocation' ;
8
+ import { isInvocationNode } from 'features/nodes/types/invocation' ;
9
9
import { isContainerElement , isNodeFieldElement } from 'features/nodes/types/workflow' ;
10
10
import { uniqBy } from 'lodash-es' ;
11
11
import { assert } from 'tsafe' ;
@@ -85,10 +85,6 @@ export const selectMayRedo = createSelector(
85
85
( nodes ) => nodes . future . length > 0
86
86
) ;
87
87
88
- export const selectHasBatchOrGeneratorNodes = createSelector ( selectNodes , ( nodes ) =>
89
- nodes . filter ( isInvocationNode ) . some ( ( node ) => isBatchNode ( node ) || isGeneratorNode ( node ) )
90
- ) ;
91
-
92
88
export const selectWorkflowName = createNodesSelector ( ( nodes ) => nodes . name ) ;
93
89
94
90
export const selectWorkflowId = createNodesSelector ( ( workflow ) => workflow . id ) ;
You can’t perform that action at this time.
0 commit comments