From 3d895370a608d4f51726b74e2560dcf5f4ec43a8 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 10 May 2022 15:40:58 +1000
Subject: Add quotes around displayed alt-names

---
 src/components/Tile.vue | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/components/Tile.vue')

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 {
-- 
cgit v1.2.3

