diff --git a/apps/red-ui/src/app/services/notifications.service.ts b/apps/red-ui/src/app/services/notifications.service.ts index 42cb282be..399cc5734 100644 --- a/apps/red-ui/src/app/services/notifications.service.ts +++ b/apps/red-ui/src/app/services/notifications.service.ts @@ -13,6 +13,10 @@ import dayjs from 'dayjs'; const INCLUDE_SEEN = false; +const AVAILABLE_NOTIFICATIONS_DAYS = 30; +const AVAILABLE_OLD_NOTIFICATIONS_MINUTES = 60; +const NOTIFICATIONS_THRESHOLD = 1000; + @Injectable({ providedIn: 'root', }) @@ -81,14 +85,17 @@ export class NotificationsService extends EntitiesService {