aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/data/README.md2
-rw-r--r--src/components/Tile.vue5
2 files changed, 6 insertions, 1 deletions
diff --git a/backend/data/README.md b/backend/data/README.md
index 209a2cc..9f0ea82 100644
--- a/backend/data/README.md
+++ b/backend/data/README.md
@@ -15,7 +15,7 @@ File Generation Process
1 Use downloadImgsForReview.py to download EOL images into imgsForReview/.
It uses data in eol/imagesList.db, and the 'eol\_ids' table.
2 Use reviewImgs.py to filter images in imgsForReview/ into EOL-id-unique
- images in imgsReviewed/ (uses 'names' and 'eol_ids' to display extra info).
+ images in imgsReviewed/ (uses 'names' and 'eol\_ids' to display extra info).
3 Use genImgsForWeb.py to create cropped/resized images in img/, using
images in imgsReviewed, and also to add an 'images' table to data.db.
4 Node Description Data
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 {