aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorZero~Informatique2020-02-13 18:17:35 +0100
committerZero~Informatique2020-02-13 18:17:35 +0100
commit6c51a97bce7963fba47892602c1214b3bcdcd410 (patch)
tree0df87fda5a480718cf35b6087555039a706df524 /viewer/src/views
parent9c2af5dcd2d2c8754e4c74e02141822c0964a5a8 (diff)
parentef1778e051e007f08f9188a479d04fdf95a57d21 (diff)
downloadldgallery-6c51a97bce7963fba47892602c1214b3bcdcd410.tar.gz
Merge branch 'oz-config-json' into develop
# Conflicts: # scripts/win_compile_example.cmd
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/MainLayout.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue
index 12388a9..63a1b83 100644
--- a/viewer/src/views/MainLayout.vue
+++ b/viewer/src/views/MainLayout.vue
@@ -60,7 +60,8 @@ export default class MainLayout extends Vue {
60 fetchGalleryItems() { 60 fetchGalleryItems() {
61 this.isLoading = true; 61 this.isLoading = true;
62 this.$galleryStore 62 this.$galleryStore
63 .fetchGalleryItems(`${process.env.VUE_APP_DATA_URL}index.json`) 63 .fetchConfig()
64 .then(this.$galleryStore.fetchGalleryItems)
64 .finally(() => (this.isLoading = false)) 65 .finally(() => (this.isLoading = false))
65 .catch(this.displayError); 66 .catch(this.displayError);
66 } 67 }