diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 00:18:00 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 00:18:00 -0700 |
commit | 524f8b6abd1787e3fefc640e752e2ed1ecac5898 (patch) | |
tree | d12bcfcef4d26ac6f12f7e2aea8766ac14c148d7 /src/state/models/feeds/notifications.ts | |
parent | 0bdb0ac006a63604f23e73330cb7d6365bb36b4b (diff) | |
parent | 93e9fa8edfe1d8a046399a2b4b31bba4d69814f8 (diff) | |
download | voidsky-524f8b6abd1787e3fefc640e752e2ed1ecac5898.tar.zst |
Merge branch 'custom-algos' of https://github.com/bluesky-social/social-app into custom-algos
Diffstat (limited to 'src/state/models/feeds/notifications.ts')
-rw-r--r-- | src/state/models/feeds/notifications.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state/models/feeds/notifications.ts b/src/state/models/feeds/notifications.ts index 73424f03e..3777abb92 100644 --- a/src/state/models/feeds/notifications.ts +++ b/src/state/models/feeds/notifications.ts @@ -290,7 +290,9 @@ export class NotificationsFeedModel { } get hasNewLatest() { - return this.queuedNotifications && this.queuedNotifications?.length > 0 + return Boolean( + this.queuedNotifications && this.queuedNotifications?.length > 0, + ) } get unreadCountLabel(): string { |