From 5fc47b378033bc05ab51706af73e2dda0326ad5b Mon Sep 17 00:00:00 2001 From: crazywoola <427733928@qq.com> Date: Thu, 10 Jul 2025 09:59:43 +0800 Subject: [PATCH] chore: remove handle and padding --- .../question-classifier/components/class-list.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx b/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx index 7732d314ba..d0297cfd74 100644 --- a/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx +++ b/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx @@ -10,7 +10,6 @@ import type { Topic } from '@/app/components/workflow/nodes/question-classifier/ import type { ValueSelector, Var } from '@/app/components/workflow/types' import { ReactSortable } from 'react-sortablejs' import { noop } from 'lodash-es' -import { RiDraggable } from '@remixicon/react' import cn from '@/utils/classnames' const i18nPrefix = 'workflow.nodes.questionClassifiers' @@ -80,10 +79,7 @@ const ClassList: FC = ({ if (readonly) return false - if (topicCount < 2) - return false - - return true + return topicCount >= 2 })() return (
= ({ 'group relative rounded-[10px] bg-components-panel-bg', `-ml-${handleSideWidth} min-h-[40px] px-0 py-0`, )}> - {canDrag &&