Skip to content

Commit

Permalink
KPMP-4950: removed feature switch implementation from bottom table in…
Browse files Browse the repository at this point in the history
… explorer homepage
  • Loading branch information
HaneenT committed Dec 14, 2023
1 parent f40741b commit 58b1c15
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/helpers/ApolloClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 58b1c15

Please sign in to comment.