Skip to content

Commit

Permalink
Fix broken metadata view if there is a draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen committed Feb 9, 2016
1 parent 0e2404b commit b638c3e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@
fast: 'index',
_content_type: 'json'
}).then(function(data) {
if (data.metadata.length == 1) {
if (data.metadata.length >= 1) {
data.metadata[0] = new Metadata(data.metadata[0]);
that.feedMd(0, undefined, data.metadata);
}
Expand Down

0 comments on commit b638c3e

Please sign in to comment.