aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryDirectory.vue
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/GalleryDirectory.vue
parent15b6de3e39a37950e5a1cfb827eab8e10f27546e (diff)
downloadldgallery-8e91297ec0b090e3439efe2137a59192f5bb857b.tar.gz
viewer: browsing pictures disables fullscreen. Resolves #115
Diffstat (limited to 'viewer/src/views/GalleryDirectory.vue')
-rw-r--r--viewer/src/views/GalleryDirectory.vue4
1 files changed, 4 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 }