diff options
author | Zero~Informatique | 2020-09-25 10:42:33 +0200 |
---|---|---|
committer | Zero~Informatique | 2020-09-25 10:44:45 +0200 |
commit | 26210d495aed813baac1095b5c7a7c7879d2d206 (patch) | |
tree | 59360f49bb18c71f0576841fcc66ca8154567130 /viewer/src/components/LdGallery.vue | |
parent | 25a9af7212d757a53258990668620157c8ebe2e5 (diff) | |
download | ldgallery-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.vue | 2 |
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 { |