Browse Source

Update alarm-data.service.ts

pull/9620/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
910dde39ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/core/api/alarm-data.service.ts

2
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<AlarmData>(), 0, 0);
return of(null);
return;
}
listener.subscription = new AlarmDataSubscription(listener, this.telemetryService);
return listener.subscription.subscribe();

Loading…
Cancel
Save