aboutsummaryrefslogtreecommitdiff
path: root/src/services/NotificationService.ts
diff options
context:
space:
mode:
authorbrian-tagg <83606050+brian-tagg@users.noreply.github.com>2021-06-09 00:47:27 +0900
committerGitHub <noreply@github.com>2021-06-09 00:47:27 +0900
commitfb9aaaa3ff24497ee1a06c6c85c2bbbc835335e0 (patch)
tree77c8391dc0e35485336e8b1f729159bfe80f5ab6 /src/services/NotificationService.ts
parent2f66fec878e9bba15ac7f2397820bb48d3f167bb (diff)
Update src/services/NotificationService.ts
Co-authored-by: Ivan Chen <ivan.if.chen@gmail.com>
Diffstat (limited to 'src/services/NotificationService.ts')
-rw-r--r--src/services/NotificationService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/NotificationService.ts b/src/services/NotificationService.ts
index 3c0245a5..2ffc85b2 100644
--- a/src/services/NotificationService.ts
+++ b/src/services/NotificationService.ts
@@ -56,7 +56,7 @@ export const getNotificationsUnreadCount: () => Promise<{
P_VIEW?: number;
MOM_TAG?: number;
} = {};
- if (data.CMT && data.CMT > 0) {
+ if (data.CMT) {
typedData.CMT = data.CMT;
}
if (data.FRD_REQ && data.FRD_REQ > 0) {