aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--viewer/src/components/LdProposition.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 6be0aee..0a293a9 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -58,6 +58,7 @@ export default class LdProposition extends Vue {
58 } else { 58 } else {
59 // Tags count from the current directory 59 // Tags count from the current directory
60 this.$galleryStore.currentItem?.tags 60 this.$galleryStore.currentItem?.tags
61 .flatMap(tag => tag.split("."))
61 .map(tag => this.$galleryStore.tags[tag]) // FIXME: Folders with the same name are merged in the index 62 .map(tag => this.$galleryStore.tags[tag]) // FIXME: Folders with the same name are merged in the index
62 .forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length)); 63 .forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length));
63 } 64 }