aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/components')
-rw-r--r--viewer/src/components/LdProposition.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 375c482..3357777 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -74,7 +74,7 @@ export default class LdProposition extends Vue {
74 } else { 74 } else {
75 // Tags count from the current directory 75 // Tags count from the current directory
76 this.currentTags 76 this.currentTags
77 .flatMap(tag => tag.split(".")) 77 .flatMap(tag => tag.split(":"))
78 .map(tag => this.tagsIndex[tag]) 78 .map(tag => this.tagsIndex[tag])
79 .forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length)); 79 .forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length));
80 } 80 }
@@ -89,7 +89,7 @@ export default class LdProposition extends Vue {
89 } 89 }
90 90
91 rightmost(tag: Gallery.RawTag): Gallery.RawTag { 91 rightmost(tag: Gallery.RawTag): Gallery.RawTag {
92 const dot = tag.lastIndexOf("."); 92 const dot = tag.lastIndexOf(":");
93 return dot <= 0 ? tag : tag.substr(dot + 1); 93 return dot <= 0 ? tag : tag.substr(dot + 1);
94 } 94 }
95 95