aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store
diff options
context:
space:
mode:
authorpacien2020-05-04 00:10:39 +0200
committerpacien2020-05-04 00:10:39 +0200
commitf328a730b516f5e9104f85e553c083c2865660a8 (patch)
treecf665afc3bcbbc42504c0270f76814f7489fb21d /viewer/src/store
parent665139f7d25a64f66e1149a6403fc26efcbabb2a (diff)
downloadldgallery-f328a730b516f5e9104f85e553c083c2865660a8.tar.gz
viewer/galleryStore: unify resource root parametrisation
Diffstat (limited to 'viewer/src/store')
-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 0cffdd9..a57122c 100644
--- a/viewer/src/store/galleryStore.ts
+++ b/viewer/src/store/galleryStore.ts
@@ -79,6 +79,10 @@ export default class GalleryStore extends VuexModule {
79 return this.galleryIndex?.properties.galleryTitle ?? "ldgallery"; 79 return this.galleryIndex?.properties.galleryTitle ?? "ldgallery";
80 } 80 }
81 81
82 get resourceRoot(): string {
83 return process.env.VUE_APP_DATA_URL + this.config!.galleryRoot;
84 }
85
82 // --- 86 // ---
83 87
84 // Fetches the gallery's JSON config 88 // Fetches the gallery's JSON config