From 5ff664e7251f7c0dfc427937facc31ca66dd278e Mon Sep 17 00:00:00 2001 From: G1org1owo <77230371+G1org1owo@users.noreply.github.com> Date: Tue, 9 Jul 2024 01:21:12 +0200 Subject: [PATCH] Check for aliases when loading tag counts --- src/popup/pages/PopupMain.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/pages/PopupMain.vue b/src/popup/pages/PopupMain.vue index 70a9fc4..40d2a63 100644 --- a/src/popup/pages/PopupMain.vue +++ b/src/popup/pages/PopupMain.vue @@ -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; }