Skip to content

Commit

Permalink
feat: re-enable gene search (for rna-seq only)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Oct 18, 2021
1 parent bc61655 commit e8e98a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/PeakResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const PeakResults = () => {
<Container>
<Nav tabs>
{
assays.map(assay => {
assays.filter(assay => chrom !== "gene" || assay === "RNA-seq").map(assay => {
const nPeaks = peaksByAssay[assay]?.length ?? 0
return <NavItem key={assay}>
<NavLink
Expand Down
2 changes: 1 addition & 1 deletion client/src/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const defaultChroms = {
isLoading: false,
isLoaded: false,
total: 0,
list: ['rsID'], // Enable for gene search: ['rsID', 'gene'],
list: ['rsID', 'gene'],
}
function chromsReducer(state = defaultChroms, action) {
switch (action.type) {
Expand Down

0 comments on commit e8e98a1

Please sign in to comment.