Skip to content

Commit

Permalink
Merge pull request #2512 from NCEAS/bugfix-2505-zero-coords
Browse files Browse the repository at this point in the history
Show coords that are zero in metadataIndexView
  • Loading branch information
robyngit authored Sep 9, 2024
2 parents 8a60f62 + 2d217d9 commit 0ebb642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/views/MetadataIndexView.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ define([
if (typeof key === "object" && doc.get(key.field)) {
html += view.formatAttribute(key.display, doc.get(key.field));
populated = true;
} else if (doc.get(key)) {
} else if (doc.get(key) || doc.get(key) === 0) {
html += view.formatAttribute(key, doc.get(key));
populated = true;
}
Expand Down

0 comments on commit 0ebb642

Please sign in to comment.