From 910dde39ce8dbd0e3dcfde1a00e16eae6b08fcc5 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 5 Dec 2023 17:37:38 +0200 Subject: [PATCH] Update alarm-data.service.ts --- ui-ngx/src/app/core/api/alarm-data.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/core/api/alarm-data.service.ts b/ui-ngx/src/app/core/api/alarm-data.service.ts index 86635b7799..283960ea8d 100644 --- a/ui-ngx/src/app/core/api/alarm-data.service.ts +++ b/ui-ngx/src/app/core/api/alarm-data.service.ts @@ -52,7 +52,7 @@ export class AlarmDataService { listener.alarmDataSubscriptionOptions = this.createAlarmSubscriptionOptions(listener, pageLink, keyFilters); if (alarmSource.type === DatasourceType.entity && (!alarmSource.entityFilter || !pageLink)) { listener.alarmsLoaded(emptyPageData(), 0, 0); - return of(null); + return; } listener.subscription = new AlarmDataSubscription(listener, this.telemetryService); return listener.subscription.subscribe();