diff --git a/extensions/tags/js/src/helpers/tags-label.js b/extensions/tags/js/src/helpers/tags-label.js index d725f9fef..2d7861d9c 100644 --- a/extensions/tags/js/src/helpers/tags-label.js +++ b/extensions/tags/js/src/helpers/tags-label.js @@ -10,7 +10,9 @@ export default function tagsLabel(tags, attrs) { if (tags) { sortTags(tags).forEach(tag => { - children.push(tagLabel(tag, {link})); + if (tag || tags.length === 1) { + children.push(tagLabel(tag, {link})); + } }); } else { children.push(tagLabel());