Skip to content

Commit

Permalink
ConceptDetail: Hide add to mapping button if necessary (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed May 28, 2019
1 parent ff8709a commit bd34fcc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/ConceptDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@
:is-highlighted="true"
font-size="normal" />
<div
v-b-tooltip.hover="{ title: showAddToMappingButton ? $t('general.addToMapping') : '', delay: $util.delay.medium }"
:class="{ button: showAddToMappingButton, 'button-disabled': !showAddToMappingButton }"
v-if="showAddToMappingButton"
v-b-tooltip.hover="{ title: $t('general.addToMapping'), delay: $util.delay.medium }"
:class="{ button: showAddToMappingButton }"
class="conceptDetail-name-addButton"
@click="addToMapping({
concept: item,
Expand Down

0 comments on commit bd34fcc

Please # to comment.