pull/1167/head
Lim Chee Aun 2025-05-21 08:27:19 +08:00
rodzic 79fd5109b2
commit d01f4823fa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -383,7 +383,7 @@ function Notification({
if (typeof text === 'function') { if (typeof text === 'function') {
const count = const count =
type === 'favourite' || type === 'reblog' (type === 'favourite' || type === 'reblog') && notificationsCount
? notificationsCount ? notificationsCount
: _accounts?.length || sampleAccounts?.length || (account ? 1 : 0); : _accounts?.length || sampleAccounts?.length || (account ? 1 : 0);
const postsCount = _statuses?.length || (status ? 1 : 0); const postsCount = _statuses?.length || (status ? 1 : 0);