#105 remove some dump

parent ec79bbc1
...@@ -36,7 +36,6 @@ const TableRowTask= ({ ...@@ -36,7 +36,6 @@ const TableRowTask= ({
onProjectChange, onProjectChange,
onExecutorChange, onExecutorChange,
uniqueProjects, uniqueProjects,
executors,
onAuthorChange, onAuthorChange,
onDateChange, onDateChange,
onToggleEditMode, onToggleEditMode,
...@@ -145,33 +144,7 @@ const TableRowTask= ({ ...@@ -145,33 +144,7 @@ const TableRowTask= ({
/> />
)} )}
{/* executor cell display */}
{/* executor cell display */}
{/* executor cell display */}
{/* executor cell display */}
{task.isEditMode && task.author.id===user.id ? (
<TableCell>
<BasicSelect
items={executors.map((e) => ({
value: e?.id,
title: e?.displayName,
}))}
task={task}
onChange={onExecutorChange}
name="executor"
value={task.executor?.id}
/>
</TableCell>
) : (
<CustomTableCell
{...{
task,
name: "executor",
value: task.executor?.displayName,
user:user
}}
/>
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment