Merge pull request #7326 from vvlladd28/bug/datakey-agg/validation

[3.4.2] UI: Fixed check isEmpty validation in EntityDataCmd models
This commit is contained in:
Andrew Shvayka 2022-10-31 13:37:14 +02:00 committed by GitHub
commit 431f88ab21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}