File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/graph/selectionToolbox Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ import { useI18n } from 'vue-i18n'
1919
2020import { useCommandStore } from ' @/stores/commandStore'
2121import { useCanvasStore } from ' @/stores/graphStore'
22- import { isLGraphNode } from ' @/utils/litegraphUtil'
22+ import { isImageNode , isLGraphNode } from ' @/utils/litegraphUtil'
2323
2424const { t } = useI18n ()
2525const commandStore = useCommandStore ()
2626const canvasStore = useCanvasStore ()
2727
2828const isImageOutputOrEditModelNode = (node : unknown ) =>
2929 isLGraphNode (node ) &&
30- (node . images ?. length || node .type === ' workflow>FLUX.1 Kontext Image Edit' )
30+ (isImageNode ( node ) || node .type === ' workflow>FLUX.1 Kontext Image Edit' )
3131
3232const isImageOutputSelected = computed (
3333 () =>
You can’t perform that action at this time.
0 commit comments