diff options
author | pacien | 2020-02-25 16:03:00 +0100 |
---|---|---|
committer | Notkea | 2020-02-25 19:18:00 +0100 |
commit | 2766f5f9a491c5f7ebf1eeac1c970daec3656be2 (patch) | |
tree | 59e626febb85476a6bc476b94cb28fc186729c34 /viewer/src/store/galleryStore.ts | |
parent | 9f5b07ccde8f54bb4d1905c8d51e69f762aed057 (diff) | |
download | ldgallery-2766f5f9a491c5f7ebf1eeac1c970daec3656be2.tar.gz |
transverse: combine item tree and gallery-wide properties
GitHub: closes #142
Diffstat (limited to 'viewer/src/store/galleryStore.ts')
-rw-r--r-- | viewer/src/store/galleryStore.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts index d2b28dd..cd09996 100644 --- a/viewer/src/store/galleryStore.ts +++ b/viewer/src/store/galleryStore.ts | |||
@@ -77,6 +77,7 @@ export default class GalleryStore extends VuexModule { | |||
77 | const root = this.config?.galleryRoot ?? ''; | 77 | const root = this.config?.galleryRoot ?? ''; |
78 | return fetch(`${process.env.VUE_APP_DATA_URL}${root}index.json`, { cache: "no-cache" }) | 78 | return fetch(`${process.env.VUE_APP_DATA_URL}${root}index.json`, { cache: "no-cache" }) |
79 | .then(response => response.json()) | 79 | .then(response => response.json()) |
80 | .then(index => index.tree) | ||
80 | .then(this.setGalleryItemsRoot) | 81 | .then(this.setGalleryItemsRoot) |
81 | .then(this.indexTags); | 82 | .then(this.indexTags); |
82 | } | 83 | } |