diff options
author | Zero~Informatique | 2020-09-12 06:34:58 +0200 |
---|---|---|
committer | G.Fouet | 2020-09-12 23:19:44 +0200 |
commit | 96ed5e6583a7f03d4ea7fa0512e66fffb656cc6e (patch) | |
tree | 7df81984c78d616bff317be25f99c7c2d02286c8 /viewer/src/views/MainLayout.vue | |
parent | 7a8eba922ad34182628f80cf2496d8654abe91e6 (diff) | |
download | ldgallery-96ed5e6583a7f03d4ea7fa0512e66fffb656cc6e.tar.gz |
viewer: make default sort order configurable
github: resolves #239
Diffstat (limited to 'viewer/src/views/MainLayout.vue')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index d9ae954..6ef9a3b 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -64,6 +64,7 @@ export default class MainLayout extends Vue { | |||
64 | this.isLoading = true; | 64 | this.isLoading = true; |
65 | this.$galleryStore | 65 | this.$galleryStore |
66 | .fetchConfig() | 66 | .fetchConfig() |
67 | .then(this.$uiStore.initFromConfig) | ||
67 | .then(this.$galleryStore.fetchGalleryItems) | 68 | .then(this.$galleryStore.fetchGalleryItems) |
68 | .finally(() => (this.isLoading = false)) | 69 | .finally(() => (this.isLoading = false)) |
69 | .catch(this.displayError); | 70 | .catch(this.displayError); |