Skip to content

Commit

Permalink
fix: extrat node selected
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Dec 6, 2024
1 parent 7fdc927 commit 51c6577
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { useContextSelector } from 'use-context-selector';
import { WorkflowContext } from '../../../context';
import MyIconButton from '@fastgpt/web/components/common/Icon/button';

const NodeExtract = ({ data }: NodeProps<FlowNodeItemType>) => {
const NodeExtract = ({ data, selected }: NodeProps<FlowNodeItemType>) => {
const { inputs, outputs, nodeId } = data;

const { t } = useTranslation();
Expand Down Expand Up @@ -143,7 +143,7 @@ const NodeExtract = ({ data }: NodeProps<FlowNodeItemType>) => {
);

return (
<NodeCard minW={'400px'} {...data}>
<NodeCard minW={'400px'} selected={selected} {...data}>
{isTool && (
<>
<Container>
Expand Down

0 comments on commit 51c6577

Please sign in to comment.