client/src/reducers/authReducer.js
changeset 130 78246db1cbac
parent 129 d48946d164c6
child 132 906a6c7c7943
--- a/client/src/reducers/authReducer.js	Fri Jul 28 19:40:35 2017 +0200
+++ b/client/src/reducers/authReducer.js	Sun Jul 30 01:02:09 2017 +0200
@@ -103,7 +103,7 @@
 export const groups = (state = Immutable.List([]), action) => {
   switch (action.type) {
     case types.GROUP_LOAD_SUCCESS:
-      return Immutable.List(action.groups);
+      return Immutable.List(action.groups.results);
     case types.GROUP_CREATE_SUCCESS:
       return state.push(action.group);
     default: