Skip to content

Commit

Permalink
Fix gene filter menus
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Nov 21, 2024
1 parent 3ef6d90 commit d0de33f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions web/src/components/FilterGene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default defineComponent({
kegg: 'kegg_function',
cog: 'cog_function',
pfam: 'pfam_function',
go: 'go_function',
};
return typeToTable[props.geneType];
});
Expand Down
8 changes: 4 additions & 4 deletions web/src/views/Search/SearchSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ export default defineComponent({
}
if (geneFunctionTables.includes(table)) {
const tableToType: Record<string, string> = {
kegg_function: 'kegg_search',
cog_function: 'cog_search',
pfam_function: 'pfam_search',
go_function: 'go_search',
kegg_function: 'kegg_function',
cog_function: 'cog_function',
pfam_function: 'pfam_function',
go_function: 'go_function',
};
return {
type: tableToType[table],
Expand Down

0 comments on commit d0de33f

Please sign in to comment.