minor change to task-row.js
This commit is contained in:
parent
c704066e32
commit
c6dfc47312
@ -14,14 +14,14 @@ const TaskRow = props => {
|
||||
</button>
|
||||
|
||||
<span>{task.desc}</span>
|
||||
{!props.selectedProjectId ? (
|
||||
{props.selectedProjectId ? null :
|
||||
<button
|
||||
className="btn btn-outline-dark ml-5"
|
||||
onClick={() => props.selectProject(task.projectId)}
|
||||
>
|
||||
{projectName}
|
||||
</button>
|
||||
) : null}
|
||||
}
|
||||
|
||||
<button
|
||||
className={`btn btn-${
|
||||
|
Loading…
Reference in New Issue
Block a user