| author | ymh <ymh.work@gmail.com> |
| Thu, 22 Jun 2017 12:37:53 +0200 | |
| changeset 75 | 15ebcb57b544 |
| parent 74 | 043477fd5c5c |
| child 76 | b4f9114b3a86 |
--- a/client/src/components/Session.js Thu Jun 22 12:09:48 2017 +0200 +++ b/client/src/components/Session.js Thu Jun 22 12:37:53 2017 +0200 @@ -52,7 +52,7 @@ const currentSession = sessions.find(session => session._id === sessionId); const currentNotes = notes.filter(note => { return note.session === sessionId; - }); + }).sort((n1,n2) => { return n1.get('startedAt').localeCompare(n2.get('startedAt')); }); return { currentSession,