From 58b1c15f94e4f416872872a2d78b2e872f1919c2 Mon Sep 17 00:00:00 2001 From: HaneenT Date: Thu, 14 Dec 2023 08:49:28 -0500 Subject: [PATCH] KPMP-4950: removed feature switch implementation from bottom table in explorer homepage --- src/helpers/ApolloClient.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/helpers/ApolloClient.js b/src/helpers/ApolloClient.js index 1d368560..ef1c27dd 100644 --- a/src/helpers/ApolloClient.js +++ b/src/helpers/ApolloClient.js @@ -530,15 +530,6 @@ export const fetchAtlasSummaryRows = async () => { fetchPolicy: 'cache-first' }); if (response.data && response.data.getAtlasSummaryRows) { - if (process.env.REACT_APP_PROTEOMICS === "off") { - let summaryRows = response.data.getAtlasSummaryRows.summaryRows.filter((data) => { - return data?.omicsType !== "Regional Proteomics" - }) - return { - "totalFiles": response.data.getAtlasSummaryRows.totalFiles, - "summaryRows": summaryRows - } - } return response.data.getAtlasSummaryRows; }else { store.dispatch(sendMessageToBackend("Could not retrieve file counts: " + response.error));