Skip to content

Commit 86418b3

Browse files
committed
feat: filter by handles
Signed-off-by: Adam Setch <[email protected]>
1 parent 4a0c874 commit 86418b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/renderer/utils/notifications/filters/userType.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ export function getUserTypeFilterCount(
4040
return notifications.reduce(
4141
(sum, account) =>
4242
sum +
43-
account.notifications.filter((n) => filterNotificationByUserType(n, userType))
44-
.length,
43+
account.notifications.filter((n) =>
44+
filterNotificationByUserType(n, userType),
45+
).length,
4546
0,
4647
);
4748
}

0 commit comments

Comments
 (0)