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
parent
commit
9d245f2f6f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui-ngx/src/app/core/api/entity-data-subscription.ts

3
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);
}
}

Loading…
Cancel
Save