Skip to content

Commit

Permalink
Update rankgroup filter
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Nov 2, 2022
1 parent fa37381 commit fec71c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/otus/components/TaxaInfo.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div :class="{ invisible: !taxon.id }">
<h2 class="text-1xl capitalize">
{{ taxon.rank || taxon.type }}
{{ taxon.rank || 'Combination' }}
</h2>
<h1 class="text-xl dark:text-gray-100">
<span>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/otus/views/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ defineProps({
}
})
const isComponentForRank = (available, rankString) => available.some(rankGroup => rankGroup?.toLowerCase().includes(rankString.toLowerCase()))
const isComponentForRank = (available, rankString) => available.some(rankGroup => rankString?.includes(rankGroup))
</script>

0 comments on commit fec71c7

Please sign in to comment.