feat(question-classifier): add drag-and-drop sorting for topics list (#22066)
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
@@ -40,6 +40,7 @@ const Panel: FC<NodePanelProps<QuestionClassifierNodeType>> = ({
|
||||
handleVisionResolutionChange,
|
||||
handleVisionResolutionEnabledChange,
|
||||
filterVar,
|
||||
handleSortTopic,
|
||||
} = useConfig(id, data)
|
||||
|
||||
const model = inputs.model
|
||||
@@ -99,6 +100,7 @@ const Panel: FC<NodePanelProps<QuestionClassifierNodeType>> = ({
|
||||
onChange={handleTopicsChange}
|
||||
readonly={readOnly}
|
||||
filterVar={filterVar}
|
||||
handleSortTopic={handleSortTopic}
|
||||
/>
|
||||
</Field>
|
||||
<Split />
|
||||
|
Reference in New Issue
Block a user