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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts
index 663340f..b2ff74e 100644
--- a/viewer/src/store/galleryStore.ts
+++ b/viewer/src/store/galleryStore.ts
@@ -61,7 +61,7 @@ export default class GalleryStore extends VuexModule {
61 61
62 // Fetches the gallery's JSON metadata 62 // Fetches the gallery's JSON metadata
63 @action async fetchGalleryItems(url: string) { 63 @action async fetchGalleryItems(url: string) {
64 fetch(url) 64 return fetch(url)
65 .then(response => response.json()) 65 .then(response => response.json())
66 .then(this.setGalleryItemsRoot) 66 .then(this.setGalleryItemsRoot)
67 .then(this.indexTags); 67 .then(this.indexTags);