Skip to content

Commit

Permalink
Fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Jul 15, 2022
1 parent b35dcfa commit acdbea9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/modules/otus/components/TaxaInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
</h2>
<h1 class="text-xl dark:text-gray-100">
<span v-html="taxonNameString" />
<span
class="ml-2"
:class="statusStyle"
v-html="status"
/>
</h1>
<h2 class="text-1xl text-gray-700 dark:text-gray-200">
<CommonNames :otu-id="props.otuId" />
Expand Down Expand Up @@ -40,16 +35,4 @@ const taxonNameString = computed(() =>
? props.taxon.cached_html + ' ' + (props.taxon.cached_author_year || '')
: props.taxon.original_combination
)
const status = computed(() =>
props.taxon.cached_is_valid
? '&#10003;'
: '&#10005;'
)
const statusStyle = computed(() =>
props.taxon.cached_is_valid
? 'text-green-600'
: 'text-red-600'
)
</script>

0 comments on commit acdbea9

Please sign in to comment.