Use integers and not numbers in notification policy API counters (#29810)
This commit is contained in:
1 parent
d05f62391d
commit
b4d991adaa
4 files changed
+11
-11
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ export const FilteredNotificationsBanner = () => {
|
||||
};
|
||||
}, [dispatch]);
|
||||
|
||||
if (policy === null || policy.getIn(['summary', 'pending_notifications_count']) * 1 === 0) {
|
||||
if (policy === null || policy.getIn(['summary', 'pending_notifications_count']) === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user