make existing notes editable
This commit is contained in:
parent
3d099f2c5f
commit
b4c4372394
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ oml.ui.annotation = function(annotation, $iframe) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
var notes = annotation.notes.length ? annotation.notes.map(function(note) {
|
var notes = annotation.notes.length ? annotation.notes.map(function(note) {
|
||||||
note.editable = note.user == ''
|
note.editable = !note.user
|
||||||
return note
|
return note
|
||||||
}) : [{
|
}) : [{
|
||||||
id: 'A',
|
id: 'A',
|
||||||
|
|
Loading…
Reference in a new issue