aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--viewer/src/views/GalleryDirectory.vue4
-rw-r--r--viewer/src/views/GallerySearch.vue4
2 files changed, 8 insertions, 0 deletions
diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue
index 38686a8..162ef6e 100644
--- a/viewer/src/views/GalleryDirectory.vue
+++ b/viewer/src/views/GalleryDirectory.vue
@@ -35,6 +35,10 @@ import Tools from "@/tools";
35export default class GalleryDirectory extends Vue { 35export default class GalleryDirectory extends Vue {
36 @Prop({ required: true }) readonly directory!: Gallery.Directory; 36 @Prop({ required: true }) readonly directory!: Gallery.Directory;
37 37
38 mounted() {
39 this.$uiStore.fullscreen = false;
40 }
41
38 get orderedItems() { 42 get orderedItems() {
39 return Tools.directoriesFirst(this.directory.properties.items); 43 return Tools.directoriesFirst(this.directory.properties.items);
40 } 44 }
diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue
index 278bbe3..97c5c66 100644
--- a/viewer/src/views/GallerySearch.vue
+++ b/viewer/src/views/GallerySearch.vue
@@ -34,6 +34,10 @@ import { Component, Vue, Prop } from "vue-property-decorator";
34@Component 34@Component
35export default class GalleryPicture extends Vue { 35export default class GalleryPicture extends Vue {
36 @Prop({ required: true }) readonly items!: Gallery.Item[]; 36 @Prop({ required: true }) readonly items!: Gallery.Item[];
37
38 mounted() {
39 this.$uiStore.fullscreen = false;
40 }
37} 41}
38</script> 42</script>
39 43