Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove rows that don't have any values #2144

Benjamin King83b19e3398f6
diff --git a/web/js/components/vector-metadata/table.js b/web/js/components/vector-metadata/table.js
index bde5f6505..1a5c9d7df 100644
--- a/web/js/components/vector-metadata/table.js
+++ b/web/js/components/vector-metadata/table.js
@@ -40,9 +40,11 @@ export default class VectorMetaTable extends React.Component {
const featureId = properties.Identifier;
const value = metaFeatures[featureId];
const id = util.cleanId(String(title + '-' + (metaIndex + index)));
+ if (!value) return undefined;
return (
<tr key={'vector-row-' + id}>
<td>
+
{properties && properties.Description ? (
<VectorMetaTooltip id={id} index={index} description={properties.Description} />
) : undefined