From e89103915db48fc4306b553877be1ffa8ef94e91 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 25 May 2023 01:30:48 -0500 Subject: Update load latest to show when there's new activity with an indicator --- src/state/models/feeds/notifications.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/state/models/feeds/notifications.ts') 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 { -- cgit 1.4.1