UI: Fixed check isEmpty validation in EntityDataCmd models

This commit is contained in:
Vladyslav_Prykhodko 2022-09-23 17:15:24 +03:00
parent 7c4d408085
commit 13e66aea4f

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