Browse Source

UI: Fixed check isEmpty validation in EntityDataCmd models

pull/7326/head
Vladyslav_Prykhodko 4 years ago
parent
commit
13e66aea4f
  1. 2
      ui-ngx/src/app/shared/models/telemetry/telemetry.models.ts

2
ui-ngx/src/app/shared/models/telemetry/telemetry.models.ts

@ -204,7 +204,7 @@ export class EntityDataCmd implements WebsocketCmd {
aggTsCmd?: AggTimeSeriesCmd;
public isEmpty(): boolean {
return !this.query && !this.historyCmd && !this.latestCmd && !this.tsCmd;
return !this.query && !this.historyCmd && !this.latestCmd && !this.tsCmd && !this.aggTsCmd && !this.aggHistoryCmd;
}
}

Loading…
Cancel
Save