Skip to content

Commit

Permalink
Merge pull request #2486 from lmcnulty/checklists-fix-find-user-equal…
Browse files Browse the repository at this point in the history
…s-check

Fix owner name on checklist form
  • Loading branch information
kepae authored Dec 15, 2023
2 parents ddfd3ec + 86d06eb commit efe3957
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function CheckListForm({

const userIsOwner = values.owner_id == user.id;

const owner = users.find((u) => (u.userId = values.owner_id));
const owner = users.find((u) => u.userId == values.owner_id);

const [deleteChecklist] = useMutation(DELETE_CHECKLIST);

Expand Down

0 comments on commit efe3957

Please sign in to comment.