Skip to content

Commit

Permalink
fix: another try to get the navigation between issues for logged users
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanmtz committed Feb 22, 2024
1 parent 4c7a75f commit 148fdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/task/task-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class CustomPaginationActionsTable extends React.Component {
};

handleClickListItem = task => {
const url = `/task/${task.id}/${slugify(task.title)}`
const url = this.props.user?.id ? `/profile/task/${task.id}/${slugify(task.title)}` : `/task/${task.id}/${slugify(task.title)}`
this.props.history.push(url)
}

Expand Down

0 comments on commit 148fdec

Please sign in to comment.