Commit b040f58f authored by Maxime Chaillet's avatar Maxime Chaillet

Fix abscence of editor when editing a notification which has never been...

Fix abscence of editor when editing a notification which has never been commented. It fixes #157.
parent 5a619f36
......@@ -32,7 +32,7 @@ class EventContentPanel extends React.Component {
if (event.type === NOTIFICATION) {
return (<EventContentDisplayer
content={getPreviousVersionNumber(event) === 0 ? { format: 'html', text: '<p> </p>' } : event.content}
content={getPreviousVersionNumber(event) === 0 ? [{ format: 'html', text: '<p> </p>' }] : event.content}
eventId={event._id}
investigationId={investigationId}
isEditionMode={true}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment