mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 11:01:50 +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);
|
console.debug('RENDER Notification', notification.id);
|
||||||
|
|
||||||
const sameCount =
|
const diffCount =
|
||||||
notificationsCount > 0 && notificationsCount <= sampleAccounts?.length;
|
notificationsCount > 0 && notificationsCount > sampleAccounts?.length;
|
||||||
const expandAccounts = sameCount ? 'local' : 'remote';
|
const expandAccounts = diffCount ? 'remote' : 'local';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in a new issue