client/src/sagas/SessionSyncronizer.js
changeset 132 906a6c7c7943
parent 129 d48946d164c6
child 133 6f3078f7fd47
--- a/client/src/sagas/SessionSyncronizer.js	Mon Jul 31 23:18:38 2017 +0200
+++ b/client/src/sagas/SessionSyncronizer.js	Tue Aug 01 12:20:14 2017 +0200
@@ -42,18 +42,20 @@
       date: localObjInst.get('date'),
       title: localObjInst.get('title'),
       description: localObjInst.get('description'),
+      group: localObjInst.get('group'),
       protocol: ''
     };
   }
 
   getLocalRecord(remoteObj) {
-    return new SessionRecord({
+    return SessionRecord({
         _id: remoteObj.ext_id,
         title: remoteObj.title,
         description: remoteObj.description,
         date: moment(remoteObj.date).toDate(),
         action: ActionEnum.NONE,
-        group: null
+        group: remoteObj.group,
+        protocol: remoteObj.protocol,
     });
   }