mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Fix wrong postsCount
This commit is contained in:
parent
71008b91c3
commit
9d927a3d24
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ function Notification({
|
|||
if (typeof text === 'function') {
|
||||
const count =
|
||||
_accounts?.length || sampleAccounts?.length || (account ? 1 : 0);
|
||||
const postsCount = _statuses?.length || 0;
|
||||
const postsCount = _statuses?.length || (status ? 1 : 0);
|
||||
if (type === 'admin.report') {
|
||||
const targetAccount = report?.targetAccount;
|
||||
if (targetAccount) {
|
||||
|
|
Loading…
Add table
Reference in a new issue