Closed michael closed 8 years ago
why?
On Fri, Apr 1, 2016 at 6:32 PM Michael Aufreiter notifications@github.com wrote:
Assigned #83 https://github.com/substance/notes/issues/83 to @Integral https://github.com/Integral.
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/substance/notes/issues/83#event-611425103
we should just provide the most convenient way for the client.
currently i need to hack it there for formatting.
https://github.com/substance/notes/blob/master/client/Dashboard.js#L66
Also this here will fail if there are no collaborators because collaborators could be null.
https://github.com/substance/notes/blob/master/client/Cover.js#L23
So we should always return an empty array if there are no collaborators.
Try creating a new note and you will see the error.
Done.
should become