diff options
Diffstat (limited to 'viewer/src/views/GalleryDirectory.vue')
-rw-r--r-- | viewer/src/views/GalleryDirectory.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue index 30f651c..bfe484e 100644 --- a/viewer/src/views/GalleryDirectory.vue +++ b/viewer/src/views/GalleryDirectory.vue | |||
@@ -18,7 +18,7 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <ld-gallery :items="orderedItems()" :noresult="$t('directory.no-results')" /> | 21 | <ld-gallery :items="orderedItems" :noresult="$t('directory.no-results')" /> |
22 | </template> | 22 | </template> |
23 | 23 | ||
24 | <script lang="ts"> | 24 | <script lang="ts"> |
@@ -33,7 +33,7 @@ export default class GalleryDirectory extends Vue { | |||
33 | this.$uiStore.toggleFullscreen(false); | 33 | this.$uiStore.toggleFullscreen(false); |
34 | } | 34 | } |
35 | 35 | ||
36 | orderedItems() { | 36 | get orderedItems() { |
37 | return Navigation.directoriesFirst(this.directory.properties.items); | 37 | return Navigation.directoriesFirst(this.directory.properties.items); |
38 | } | 38 | } |
39 | } | 39 | } |