Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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(); |
|
|
|
|