Skip to content

Commit

Permalink
Merge pull request #451 from yeatmanlab/fix/filter-issue
Browse files Browse the repository at this point in the history
Include userId for individual reports button
  • Loading branch information
richford authored Mar 26, 2024
2 parents 6d1d59f + 0429bfe commit ec9a490
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/helpers/query/assignments.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,10 @@ export const assignmentPageFetcher = async (
const assignmentDoc = _find(scoredAssignments, { userId: userId });
const userDoc = _find(batchUserDocs, { userId: userId });
return {
user: userDoc.data,
user: {
...userDoc.data,
userId: userDoc.userId,
},
assignment: assignmentDoc.data,
};
} else {
Expand Down

0 comments on commit ec9a490

Please sign in to comment.