aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
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() {