aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store
diff options
context:
space:
mode:
authorZero~Informatique2019-12-24 02:22:56 +0100
committerZero~Informatique2019-12-24 02:22:56 +0100
commit7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44 (patch)
tree1096617e6795916aa90e81ab50a7736f7d656943 /viewer/src/store
parent139e2b76d23b13d2b3bb70fb1d5c1ea9dc255513 (diff)
downloadldgallery-7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44.tar.gz
viewer: Plugin for Optional chaining and Coalesce. Implemented tag operations (intersection, addition, substraction). Unified Tag.Search
Diffstat (limited to 'viewer/src/store')
-rw-r--r--viewer/src/store/galleryStore.ts2
-rw-r--r--viewer/src/store/uiStore.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts
index ca36a32..8a611ea 100644
--- a/viewer/src/store/galleryStore.ts
+++ b/viewer/src/store/galleryStore.ts
@@ -65,7 +65,7 @@ export default class GalleryStore extends VuexModule {
65 const itemFound = item.properties.items 65 const itemFound = item.properties.items
66 .map(item => this.searchCurrentItem(item, path)) 66 .map(item => this.searchCurrentItem(item, path))
67 .find(item => Boolean(item)); 67 .find(item => Boolean(item));
68 return itemFound || null; 68 return itemFound ?? null;
69 } 69 }
70 return null; 70 return null;
71 } 71 }
diff --git a/viewer/src/store/uiStore.ts b/viewer/src/store/uiStore.ts
index 4a6f487..25d2a28 100644
--- a/viewer/src/store/uiStore.ts
+++ b/viewer/src/store/uiStore.ts
@@ -9,7 +9,7 @@ export default class UIStore extends VuexModule {
9 9
10 fullscreen: boolean = false; 10 fullscreen: boolean = false;
11 mode: "navigation" | "search" = "navigation"; 11 mode: "navigation" | "search" = "navigation";
12 currentTags: Tag.Node[] = []; 12 currentTags: Tag.Search[] = [];
13 13
14 // --- 14 // ---
15 15