Skip to content

Commit

Permalink
show tasks in list, not Kanban format on ProfileDetail page #124
Browse files Browse the repository at this point in the history
after the restructuring of `TaskKanban` to `TaskList`, we also need to pass the `taskTlist` prop to `TaskList` in `ProfileDetail`
  • Loading branch information
blahosyl committed Aug 16, 2024
1 parent 681695f commit 97317fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/profiles/ProfileDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function ProfileDetail() {
<TaskList
message="No results found. Adjust the search keyword assign a task to yourself."
filter={`assignee__profile=${profile?.id}&ordering=-updated_at&`}
taskList
tasks={tasks}
setTasks={setTasks}
// changedWatch={changedWatch}
Expand All @@ -175,6 +176,7 @@ function ProfileDetail() {
<TaskList
message="No results found. Adjust the search keyword or watch a task."
filter={`watched__owner__profile=${profile?.id}&ordering=-watchers__created_at&`}
taskList
tasks={tasks}
setTasks={setTasks}
changedWatch={changedWatch}
Expand All @@ -194,6 +196,7 @@ function ProfileDetail() {
<TaskList
message="No results found. Adjust the search keyword or create a task."
filter={`owner__profile=${profile?.id}&ordering=-created_at&`}
taskList
tasks={tasks}
setTasks={setTasks}
// changedWatch={changedWatch}
Expand Down

0 comments on commit 97317fc

Please sign in to comment.