ability to click classifier during workflow execution (#23079)

This commit is contained in:
znn
2025-07-29 07:15:49 +05:30
committed by GitHub
parent 57e0a12ccd
commit a70d59d4a6

View File

@@ -64,6 +64,7 @@ const ClassList: FC<Props> = ({
const handleSideWidth = 3 const handleSideWidth = 3
// Todo Remove; edit topic name // Todo Remove; edit topic name
return ( return (
<>
<ReactSortable <ReactSortable
list={list.map(item => ({ ...item }))} list={list.map(item => ({ ...item }))}
setList={handleSortTopic} setList={handleSortTopic}
@@ -105,14 +106,14 @@ const ClassList: FC<Props> = ({
) )
}) })
} }
</ReactSortable>
{!readonly && ( {!readonly && (
<AddButton <AddButton
onClick={handleAddClass} onClick={handleAddClass}
text={t(`${i18nPrefix}.addClass`)} text={t(`${i18nPrefix}.addClass`)}
/> />
)} )}
</>
</ReactSortable>
) )
} }
export default React.memo(ClassList) export default React.memo(ClassList)