mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Displays the tool operator icon #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -4,7 +4,7 @@ import { Handle, HandleProps } from '@xyflow/react';
|
||||
import { Plus } from 'lucide-react';
|
||||
import { useMemo } from 'react';
|
||||
import { HandleContext } from '../../context';
|
||||
import { NextStepDropdown } from './dropdown/next-step-dropdown';
|
||||
import { InnerNextStepDropdown } from './dropdown/next-step-dropdown';
|
||||
|
||||
export function CommonHandle({
|
||||
className,
|
||||
@ -38,9 +38,9 @@ export function CommonHandle({
|
||||
>
|
||||
<Plus className="size-3 pointer-events-none" />
|
||||
{visible && (
|
||||
<NextStepDropdown hideModal={hideModal}>
|
||||
<InnerNextStepDropdown hideModal={hideModal}>
|
||||
<span></span>
|
||||
</NextStepDropdown>
|
||||
</InnerNextStepDropdown>
|
||||
)}
|
||||
</Handle>
|
||||
</HandleContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user