From 671e2e9e38ca7d59322decf23045ba1635f8424f Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Wed, 1 Apr 2026 13:08:46 +0100 Subject: [PATCH] prevent calling notification when not login --- .../notification/data/notification-repository.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/module/notification/data/notification-repository.service.ts b/src/app/module/notification/data/notification-repository.service.ts index b1b87cf49..8d07541d0 100644 --- a/src/app/module/notification/data/notification-repository.service.ts +++ b/src/app/module/notification/data/notification-repository.service.ts @@ -29,10 +29,9 @@ export class NotificationRepositoryService { this.init(); }) - if(SessionStore.user.UserId) { - this.init() + if(SessionStore.user.Inactivity) { + this.init(); } - } listenToEventNotification(): Observable {