From 66e068ee7ba1704d0fe9dc8d7e41547d79aadd91 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 8 Mar 2023 23:32:54 +0800 Subject: [PATCH] Fix bug with reblogs/favourites counting --- src/pages/notifications.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index 58c19ad6..ec1ea480 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -303,7 +303,8 @@ function Notification({ notification, instance }) { for (const account of _accounts) { if (account._types?.includes('favourite')) { favsCount++; - } else if (account._types?.includes('reblog')) { + } + if (account._types?.includes('reblog')) { reblogsCount++; } }