Mastodon: hide notifications counter

merge-requests/775/head
Alex Gleason 3 years ago
parent 1dad6dce61
commit c1ed8ed16f
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -56,7 +56,7 @@ const notificationToMap = notification => ImmutableMap({
const isValid = notification => Boolean(notification.account.id);
const countUnseen = notifications => notifications.reduce((acc, cur) =>
get(cur, ['pleroma', 'is_seen'], false) === false ? acc + 1 : acc, 0);
get(cur, ['pleroma', 'is_seen'], true) === false ? acc + 1 : acc, 0);
const normalizeNotification = (state, notification) => {
const top = state.get('top');

Loading…
Cancel
Save