fix migration

This commit is contained in:
j 2019-02-11 00:14:40 +05:30
parent e0cba14d6a
commit 9ef452832d
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ oml.ui.viewer = function() {
note = data.notes[0]
delete data.notes
}
addAnnotation(data, false)
oml.api.addAnnotation(data)
if (note) {
data.notes = [note]
} else {