Skip to content

Commit

Permalink
Fix loading assignments on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
SemaiCZE committed Jan 29, 2018
1 parent 4c8a2d1 commit 854004c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/redux/selectors/usersGroups.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export const loggedInStudentOfGroupsAssignmentsSelector = createSelector(
const groupAssignments =
group && assignments && isReady(group)
? group
.getIn(['data', 'assignments', 'public'], EMPTY_LIST)
.getIn(
['data', 'privateData', 'assignments', 'public'],
EMPTY_LIST
)
.map(assignmentId =>
assignments.getIn(['resources', assignmentId])
)
Expand Down

0 comments on commit 854004c

Please sign in to comment.