Skip to content

Commit

Permalink
Add ancestors to ItemName popover (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Mar 15, 2023
1 parent c34f2e3 commit 1cbfe5e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/ItemName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
v-if="_showPopover && isHoveredFromHere"
:id="tooltipDOMID + '-contentMap'"
style="display: none">
<!-- Ancestors / Broader -->
<concept-detail-ancestors
:item="item"
:is-left="isLeft"
:allow-show-ancestors="false"
style="margin-bottom: 5px;" />
<content-map :content-map="contentMap" />
</div>
</div>
Expand All @@ -67,14 +73,15 @@ import dragandrop from "@/mixins/dragandrop.js"
import { getItem } from "@/items"
import ContentMap from "./ContentMap.vue"
import ConceptDetailAncestors from "./ConceptDetailAncestors.vue"
import { mainLanguagesContentMapForConcept } from "@/utils/concept-helpers"
/**
* Component that displays an item's notation (if defined) and prefLabel.
*/
export default {
name: "ItemName",
components: { ContentMap },
components: { ContentMap, ConceptDetailAncestors },
mixins: [dragandrop],
props: {
/**
Expand Down

0 comments on commit 1cbfe5e

Please sign in to comment.