Skip to content

Commit

Permalink
Bug in loadAsync of user profile page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krulis committed Nov 8, 2019
1 parent 49ed2c6 commit 30dbc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/User/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class User extends Component {
dispatch(fetchUserIfNeeded(userId)).then(({ value: user }) => {
const studentOf = safeGet(user, ['privateData', 'groups', 'studentOf'], []);
const supervisorOf = safeGet(user, ['privateData', 'groups', 'supervisorOf'], []);
dispatch((dispatch, getState) =>
return dispatch((dispatch, getState) =>
Promise.all(
[...studentOf, ...supervisorOf]
.filter(groupId => {
Expand Down

0 comments on commit 30dbc7f

Please sign in to comment.