diff options
author | Zero~Informatique | 2019-12-22 03:50:40 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-22 03:50:40 +0100 |
commit | e34be1261d9219e5b2b92ebe271f609f11d55f63 (patch) | |
tree | f9bb705d0b7ec819b48ddfd5a318642ca239aff3 /viewer/src/store/uiStore.ts | |
parent | c2b4c5d144db17ebf2dc9de32ba25cc836831ae2 (diff) | |
download | ldgallery-e34be1261d9219e5b2b92ebe271f609f11d55f63.tar.gz |
vewer: Tags indexing and search input
Diffstat (limited to 'viewer/src/store/uiStore.ts')
-rw-r--r-- | viewer/src/store/uiStore.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/viewer/src/store/uiStore.ts b/viewer/src/store/uiStore.ts index c4143a1..e04b507 100644 --- a/viewer/src/store/uiStore.ts +++ b/viewer/src/store/uiStore.ts | |||
@@ -2,12 +2,15 @@ import { createModule, mutation, action } from "vuex-class-component"; | |||
2 | 2 | ||
3 | const VuexModule = createModule({ | 3 | const VuexModule = createModule({ |
4 | namespaced: "uiStore", | 4 | namespaced: "uiStore", |
5 | strict: true | 5 | strict: false |
6 | }) | 6 | }) |
7 | 7 | ||
8 | export default class UIStore extends VuexModule { | 8 | export default class UIStore extends VuexModule { |
9 | 9 | ||
10 | fullscreen: boolean = false; | 10 | fullscreen: boolean = false; |
11 | currentTags: Tag.Node[] = []; | ||
12 | |||
13 | // --- | ||
11 | 14 | ||
12 | @mutation toggleFullscreen() { | 15 | @mutation toggleFullscreen() { |
13 | this.fullscreen = !this.fullscreen; | 16 | this.fullscreen = !this.fullscreen; |