aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/store/galleryStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/store/galleryStore.ts')
-rw-r--r--viewer/src/store/galleryStore.ts2
1 files changed, 1 insertions, 1 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 }