Check for aliases when loading tag counts

pull/55/head
G1org1owo 2024-07-09 01:21:12 +02:00
parent eae1b3949f
commit 5ff664e725
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ async function loadTagCounts() {
for (let post of pop.posts)
for (let tag of resp.results)
for (let postTag of post.tags)
if (postTag.name == tag.names[0]) {
if (tag.names.includes(postTag.name)) {
postTag.usages = tag.usages;
break;
}