Skip to content

Commit

Permalink
Add icon to deselect a concept #564 Add icon to deselect a concept (#564
Browse files Browse the repository at this point in the history
)

Revert "Remove button to clear concept"

This reverts commit ac05d65.
  • Loading branch information
stefandesu committed May 28, 2020
1 parent 8efd9c3 commit 9acbaf3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/ConceptDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
'concept-mappingsExist': loadConceptsMappedStatus && $store.getters.mappedStatus(item, isLeft),
'concept-mappingsDoNotExist': loadConceptsMappedStatus && !$store.getters.mappedStatus(item, isLeft)
}">
<!-- Button to clear scheme -->
<div
v-b-tooltip.hover="{ title: $t('conceptDetail.clearConcept'), delay: defaults.delay.medium }"
class="button conceptDetail-name-clearButton"
@click="$router.push({ path: getRouterUrl(selected.scheme[isLeft], isLeft) })">
<font-awesome-icon icon="times-circle" />
</div>
<item-name
:item="item"
:is-highlighted="true"
Expand Down Expand Up @@ -534,7 +541,7 @@ export default {
.conceptDetail-name {
background-color: @color-select-2;
position: relative;
padding: 0 10px;
padding: 0 20px;
}
.conceptDetail-name-clearButton {
position: absolute;
Expand Down

0 comments on commit 9acbaf3

Please sign in to comment.