diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-03-05 17:21:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 17:21:20 -0500 |
commit | 1519e67cb495282ad436796abfa3236ceb31cb10 (patch) | |
tree | 87956d553704f3f42d86fe0f8db68e572ac817c5 /src/utils/common.ts | |
parent | b1dee65ee7bb8e120fc38a495f4027905d300650 (diff) | |
parent | 10aa8805038f07b1affdcfa1b924810a2c89bee1 (diff) |
Merge pull request #242 from ankit-thanekar007/tma-634-badge-selection-screen
Badge Screen UI Changes
Diffstat (limited to 'src/utils/common.ts')
-rw-r--r-- | src/utils/common.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/common.ts b/src/utils/common.ts index 50f96493..30122e79 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -88,7 +88,9 @@ export const haveUnreadNotifications = async ( continue; } const unread = lastViewed ? lastViewed.diff(notificationDate) < 0 : false; - if (unread) return true; + if (unread) { + return true; + } } return false; }; |