aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Tile.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 08f3c9b..5772e0a 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -47,6 +47,11 @@ export default defineComponent({
(this.layoutNode.sepSweptArea != null && this.layoutNode.sepSweptArea.sweptLeft);
},
displayName(): string {
+ if (this.tolNode.commonName != null){
+ return "'" + capitalizeWords(this.tolNode.commonName) + "'";
+ } else {
+ return capitalizeWords(this.layoutNode.name);
+ }
return capitalizeWords(this.tolNode.commonName || this.layoutNode.name);
},
isOverflownRoot(): boolean {