diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-25 01:30:48 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-05-25 01:30:48 -0500 |
commit | e89103915db48fc4306b553877be1ffa8ef94e91 (patch) | |
tree | a9a0b15d3e25d4d0302ff3cf961436ce91bdd5a8 /src/state/models | |
parent | 6f02548bca0ea918d9caec3e71068032ff119a75 (diff) | |
download | voidsky-e89103915db48fc4306b553877be1ffa8ef94e91.tar.zst |
Update load latest to show when there's new activity with an indicator
Diffstat (limited to 'src/state/models')
-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 { |