From c1ed8ed16fcb32da05e8bf7d8bd746e15548f93d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 20 Sep 2021 13:00:24 -0500 Subject: [PATCH] Mastodon: hide notifications counter --- app/soapbox/reducers/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/reducers/notifications.js b/app/soapbox/reducers/notifications.js index 9e2c1287d..416fae9c0 100644 --- a/app/soapbox/reducers/notifications.js +++ b/app/soapbox/reducers/notifications.js @@ -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');