Fix bug with reblogs/favourites counting

This commit is contained in:
Lim Chee Aun 2023-03-08 23:32:54 +08:00
parent 87a5eb5492
commit 66e068ee7b

View file

@ -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++;
}
}