Browse Source
Merge pull request #4688 from ChantsovaEkaterina/improvement/subscription-process-entity-data
UI: Entity data subscription: remove duplicate call of onData function
pull/4691/head
Igor Kulikov
5 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
2 deletions
-
ui-ngx/src/app/core/api/entity-data-subscription.ts
|
|
|
@ -667,8 +667,7 @@ export class EntityDataSubscription { |
|
|
|
if (prevDataCb) { |
|
|
|
dataAggregator.updateOnDataCb(prevDataCb); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!this.history && !isUpdate) { |
|
|
|
} else if (!this.history && !isUpdate) { |
|
|
|
this.onData(subscriptionData, DataKeyType.timeseries, dataIndex, true, dataUpdatedCb); |
|
|
|
} |
|
|
|
} |
|
|
|
|