Skip to content

Commit 2e2f2d2

Browse files
committed
Filter out specific NIST testbed collections in DashboardContainer
1 parent c803c6a commit 2e2f2d2

File tree

1 file changed

+2
-1
lines changed
  • nist-interface/src/pages/dashboardContainer

1 file changed

+2
-1
lines changed

nist-interface/src/pages/dashboardContainer/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export function DashboardContainer({
3535
try {
3636
// fetch in the collection from the features api
3737
const url = `${config?.featuresApiUrl}/collections`;
38-
const collections = await fetchAllFromFeaturesAPI(url);
38+
let collections = await fetchAllFromFeaturesAPI(url);
39+
collections = collections.filter((elem) => !['public.nist_testbed_lam_usc1_co2_hourly_concentrations', 'public.nist_testbed_lam_usc1_ch4_hourly_concentrations'].includes(elem.id));
3940
const collectionsMetaData = await extractMetaData(collections, config);
4041
const metaDataDict = getMetaDataDictionary(collectionsMetaData);
4142
setStationMetadata(metaDataDict);

0 commit comments

Comments
 (0)