aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorZero~Informatique2020-02-11 01:50:16 +0100
committerZero~Informatique2020-02-11 01:50:16 +0100
commit8e91297ec0b090e3439efe2137a59192f5bb857b (patch)
treed1fdc3d1d1ff28fe892227ee6d3b4d9744689265 /viewer/src/views
parent15b6de3e39a37950e5a1cfb827eab8e10f27546e (diff)
downloadldgallery-8e91297ec0b090e3439efe2137a59192f5bb857b.tar.gz
viewer: browsing pictures disables fullscreen. Resolves #115
Diffstat (limited to 'viewer/src/views')
-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