make existing notes editable

This commit is contained in:
j 2019-01-31 22:18:53 +05:30
parent 3d099f2c5f
commit b4c4372394
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ oml.ui.annotation = function(annotation, $iframe) {
}
})
var notes = annotation.notes.length ? annotation.notes.map(function(note) {
note.editable = note.user == ''
note.editable = !note.user
return note
}) : [{
id: 'A',