fix migration

This commit is contained in:
j 2019-02-11 00:14:40 +05:30
parent e0cba14d6a
commit 9ef452832d

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 {