From da72a1a8d1fa28d9080355ddff9bfd0742a56cf1 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Wed, 15 Mar 2023 12:53:31 +0100 Subject: [PATCH] ItemName: Show popover even if there is no additional content (#700) Will still show the concept's hierarchy. --- src/components/ItemName.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ItemName.vue b/src/components/ItemName.vue index 69343d96..c6b25671 100644 --- a/src/components/ItemName.vue +++ b/src/components/ItemName.vue @@ -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() {