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