diff --git a/src/views/portfolio/projects/Component.vue b/src/views/portfolio/projects/Component.vue index 201f247cd..77f9c0633 100644 --- a/src/views/portfolio/projects/Component.vue +++ b/src/views/portfolio/projects/Component.vue @@ -195,11 +195,17 @@ export default { } }, componentLabel() { - if (this.component.name && this.component.version) { - return this.component.name + ' ▸ ' + this.component.version; - } else { - return this.component.name; + let label = this.component.name; + + if (this.component.group) { + label = this.component.group + ' ▸ ' + label; + } + + if (this.component.version) { + label = label + ' ▸ ' + this.component.version; } + + return label; }, }, data() {