aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store/galleryStore.ts
diff options
context:
space:
mode:
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