client/src/components/Session.js
changeset 168 ea92f4fe783d
parent 165 62e5be0df812
child 171 03334a31130a
--- a/client/src/components/Session.js	Tue Oct 09 19:07:47 2018 +0200
+++ b/client/src/components/Session.js	Mon Oct 08 18:35:47 2018 +0200
@@ -108,7 +108,7 @@
   const autoSubmit = getAutoSubmit(state);
   const currentSession = getSession(sessionId, state);
   const currentNotes = getSessionNotes(sessionId, state);
-  const annotationCategories = currentSession?extractAnnotationCategories(currentSession.get('protocol')):defaultAnnotationsCategories;
+  const annotationCategories = currentSession?extractAnnotationCategories(currentSession.protocol):defaultAnnotationsCategories;
 
   return {
     currentSession,