mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Fix accounts loading error for non-server-side notifs grouping
This commit is contained in:
parent
da532032a8
commit
334362487a
1 changed files with 3 additions and 3 deletions
|
@ -447,9 +447,9 @@ function Notification({
|
|||
|
||||
console.debug('RENDER Notification', notification.id);
|
||||
|
||||
const sameCount =
|
||||
notificationsCount > 0 && notificationsCount <= sampleAccounts?.length;
|
||||
const expandAccounts = sameCount ? 'local' : 'remote';
|
||||
const diffCount =
|
||||
notificationsCount > 0 && notificationsCount > sampleAccounts?.length;
|
||||
const expandAccounts = diffCount ? 'remote' : 'local';
|
||||
|
||||
return (
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue