mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 17:25:40 +03:00
Fix bug with reblogs/favourites counting
This commit is contained in:
parent
87a5eb5492
commit
66e068ee7b
1 changed files with 2 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue