aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services/indexfactory.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/services/indexfactory.ts')
-rw-r--r--viewer/src/services/indexfactory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/services/indexfactory.ts b/viewer/src/services/indexfactory.ts
index c4b6d51..4b28a60 100644
--- a/viewer/src/services/indexfactory.ts
+++ b/viewer/src/services/indexfactory.ts
@@ -23,7 +23,7 @@ import Navigation from "@/services/navigation";
23 23
24export default class IndexFactory { 24export default class IndexFactory {
25 public static generateTags(root: Gallery.Item | null): Tag.Index { 25 public static generateTags(root: Gallery.Item | null): Tag.Index {
26 let tagsIndex: Tag.Index = {}; 26 const tagsIndex: Tag.Index = {};
27 if (root) IndexFactory.pushTagsForItem(tagsIndex, root); 27 if (root) IndexFactory.pushTagsForItem(tagsIndex, root);
28 return tagsIndex; 28 return tagsIndex;
29 } 29 }