aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store/galleryStore.ts
diff options
context:
space:
mode:
authorOzoneGrif2020-02-27 23:45:04 +0100
committerGitHub2020-02-27 23:45:04 +0100
commitafa8a533ebb6943405cc5933167634c144e7f8c7 (patch)
tree4bd40d5d815cc376563cced2ce5c7e0338c8572d /viewer/src/store/galleryStore.ts
parentb202197dcfe930b9f730919a1db217b99f9a9f55 (diff)
parent7fa92966087ec4c1b57b054d4ccccf395ba2da75 (diff)
downloadldgallery-afa8a533ebb6943405cc5933167634c144e7f8c7.tar.gz
Merge pull request #152 from pacien/oz-page-title
viewer: set page title
Diffstat (limited to 'viewer/src/store/galleryStore.ts')
-rw-r--r--viewer/src/store/galleryStore.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts
index 84673b5..9950f5b 100644
--- a/viewer/src/store/galleryStore.ts
+++ b/viewer/src/store/galleryStore.ts
@@ -70,6 +70,10 @@ export default class GalleryStore extends VuexModule {
70 return path.length > 0 ? path[path.length - 1] : null; 70 return path.length > 0 ? path[path.length - 1] : null;
71 } 71 }
72 72
73 get galleryTitle(): string {
74 return this.galleryIndex?.properties.galleryTitle ?? "ldgallery";
75 }
76
73 // --- 77 // ---
74 78
75 // Fetches the gallery's JSON config 79 // Fetches the gallery's JSON config