aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorZero~Informatique2020-02-28 04:09:40 +0100
committerZero~Informatique2020-02-28 04:09:40 +0100
commit8d889762872501eebd5edb5d7cacddfd4cd55ad4 (patch)
tree984ceda461f5dc5294653f8edac3ef125b516159 /viewer/src/views
parentafa8a533ebb6943405cc5933167634c144e7f8c7 (diff)
downloadldgallery-8d889762872501eebd5edb5d7cacddfd4cd55ad4.tar.gz
viewer: more minor architectural improvement
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GalleryDirectory.vue2
-rw-r--r--viewer/src/views/GallerySearch.vue6
2 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue
index 6e68578..30f651c 100644
--- a/viewer/src/views/GalleryDirectory.vue
+++ b/viewer/src/views/GalleryDirectory.vue
@@ -30,7 +30,7 @@ export default class GalleryDirectory extends Vue {
30 @Prop({ required: true }) readonly directory!: Gallery.Directory; 30 @Prop({ required: true }) readonly directory!: Gallery.Directory;
31 31
32 mounted() { 32 mounted() {
33 this.$uiStore.fullscreen = false; 33 this.$uiStore.toggleFullscreen(false);
34 } 34 }
35 35
36 orderedItems() { 36 orderedItems() {
diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue
index d638df2..e3369b3 100644
--- a/viewer/src/views/GallerySearch.vue
+++ b/viewer/src/views/GallerySearch.vue
@@ -33,12 +33,12 @@ export default class GalleryPicture extends Vue {
33 otherCount: Number = 0; 33 otherCount: Number = 0;
34 34
35 mounted() { 35 mounted() {
36 this.$uiStore.fullscreen = false; 36 this.$uiStore.toggleFullscreen(false);
37 this.$uiStore.searchMode = true; 37 this.$uiStore.toggleSearchMode(true);
38 } 38 }
39 39
40 destroyed() { 40 destroyed() {
41 this.$uiStore.searchMode = false; 41 this.$uiStore.toggleSearchMode(false);
42 } 42 }
43 43
44 items() { 44 items() {