Skip to content

Commit

Permalink
ItemName: Show popover even if there is no additional content (#700)
Browse files Browse the repository at this point in the history
Will still show the concept's hierarchy.
  • Loading branch information
stefandesu committed Mar 15, 2023
1 parent 1cbfe5e commit da72a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ItemName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default {
return contentMap
},
_showPopover() {
return this.showPopover && (!this.showText || !this._showNotation || Object.values(this.contentMap).find(map => map.props[0] !== "prefLabel"))
return this.showPopover && (!this.showText || !this._showNotation || Object.values(this.contentMap).length)
},
},
created() {
Expand Down

0 comments on commit da72a1a

Please sign in to comment.