aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdGallery.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-09-25 10:42:33 +0200
committerZero~Informatique2020-09-25 10:44:45 +0200
commit26210d495aed813baac1095b5c7a7c7879d2d206 (patch)
tree59360f49bb18c71f0576841fcc66ca8154567130 /viewer/src/components/LdGallery.vue
parent25a9af7212d757a53258990668620157c8ebe2e5 (diff)
downloadldgallery-26210d495aed813baac1095b5c7a7c7879d2d206.tar.gz
viewer: refactor how the available sorts are stored
github: resolves #259
Diffstat (limited to 'viewer/src/components/LdGallery.vue')
-rw-r--r--viewer/src/components/LdGallery.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/LdGallery.vue b/viewer/src/components/LdGallery.vue
index 0c0a43c..edd479c 100644
--- a/viewer/src/components/LdGallery.vue
+++ b/viewer/src/components/LdGallery.vue
@@ -36,7 +36,7 @@ export default class LdPicture extends Vue {
36 @Prop(String) readonly noresult?: string; 36 @Prop(String) readonly noresult?: string;
37 37
38 get sortedItems() { 38 get sortedItems() {
39 return this.items.sort(this.$uiStore.sortFn); 39 return this.items.sort(this.$uiStore.sort.fn);
40 } 40 }
41 41
42 get hasNoResults(): boolean { 42 get hasNoResults(): boolean {