ability to click classifier during workflow execution (#23079)
This commit is contained in:
parent
57e0a12ccd
commit
a70d59d4a6
1 changed files with 42 additions and 41 deletions
|
|
@ -64,6 +64,7 @@ const ClassList: FC<Props> = ({
|
|||
const handleSideWidth = 3
|
||||
// Todo Remove; edit topic name
|
||||
return (
|
||||
<>
|
||||
<ReactSortable
|
||||
list={list.map(item => ({ ...item }))}
|
||||
setList={handleSortTopic}
|
||||
|
|
@ -105,14 +106,14 @@ const ClassList: FC<Props> = ({
|
|||
)
|
||||
})
|
||||
}
|
||||
</ReactSortable>
|
||||
{!readonly && (
|
||||
<AddButton
|
||||
onClick={handleAddClass}
|
||||
text={t(`${i18nPrefix}.addClass`)}
|
||||
/>
|
||||
)}
|
||||
|
||||
</ReactSortable>
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default React.memo(ClassList)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue