Skip to content

Commit

Permalink
make Task Edit/Delete dropdown on task list views #16 #17 #4
Browse files Browse the repository at this point in the history
  • Loading branch information
blahosyl committed Aug 1, 2024
1 parent 3d662c1 commit 80acfbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/tasks/Task.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ const Task = (props) => {
</div>
<div className="d-flex align-items-center">
<span>Prio: {priority}</span>
{/* only available on the TaskDetail view – might change later */}
{is_owner && taskDetail && (
{/* available on both TaskDetail & TaskList views */}
{is_owner && (
<MoreDropdown
handleEdit={handleEdit}
handleDelete={() => setShowDeleteModal(true)}
Expand Down

0 comments on commit 80acfbc

Please sign in to comment.