Skip to content

Commit

Permalink
Merge pull request #454 from KPMP/KPMP_4950_show_regionalpro_in_repo_…
Browse files Browse the repository at this point in the history
…table

KPMP-4950: removed feature switch implementation from bottom table in…
  • Loading branch information
zwright authored Dec 14, 2023
2 parents f40741b + 58b1c15 commit 25a0411
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 25a0411

Please sign in to comment.