aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-10 15:40:58 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-10 15:40:58 +1000
commit3d895370a608d4f51726b74e2560dcf5f4ec43a8 (patch)
treec46c1660e615f0a82fd2fa511c0b6b9bac2f311d /src
parent81124cde7b1838248c41f8fbfce83db9e935e5b4 (diff)
Add quotes around displayed alt-names
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 {