ui: bug fix

This commit is contained in:
undefined committed 2023-03-19 04:29:55 +08:00
1 parent b681c1e840
commit 53e697dfb4
7 files changed
+33 -49

No files matched your search

@@ -135,7 +135,7 @@ export function SubtaskConfigTree() {
{ids.map((id) => <SubtaskNode key={id} subtaskId={id} />)}
<li
className="bp4-tree-node"
onClick={() => dispatch({ type: 'CONFIG_SUBTASK_UPDATE', id: 0, key: 'add' })}
onClick={() => dispatch({ type: 'problemconfig/addSubtask' })}
>
<div className="bp4-tree-node-content bp4-tree-node-content-0">
<Icon icon="folder-new" />&nbsp;