Skip to content

Commit

Permalink
fix(frontend/taskSelection): missing ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
JoltCode committed Jan 19, 2025
1 parent 946680b commit d49f72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/taskSelection/lockedTasks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function LockErrorButtons({

const handleDeselectAndValidate = () => {
const userMappedTaskIds = tasks.features
.filter((feature) => feature.properties.mappedBy === user.id)
.filter((feature) => feature.properties.mappedBy === user?.id)
.map((feature) => feature.properties.taskId);

const remainingSelectedTasks = selectedTasks.filter(
Expand Down

0 comments on commit d49f72e

Please sign in to comment.