Skip to content

Commit

Permalink
fix status return in attributes list (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Dec 29, 2020
1 parent 4745758 commit 3962e89
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -754,7 +754,7 @@ class AnnotationEditorController extends AbstractApolloController implements Ann
Feature feature = Feature.findByUniqueName(uniqueName)
JSONArray attributes = new JSONArray()
feature.featureProperties.each {
if (it.ontologyId != Comment.ontologyId) {
if (it.ontologyId != Comment.ontologyId && it.tag != null ) {
JSONObject attributeObject = new JSONObject()
attributeObject.put(FeatureStringEnum.TAG.value, it.tag)
attributeObject.put(FeatureStringEnum.VALUE.value, it.value)
Expand Down

0 comments on commit 3962e89

Please sign in to comment.