UI: Fixed check isEmpty validation in EntityDataCmd models
This commit is contained in:
parent
7c4d408085
commit
13e66aea4f
@ -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…
x
Reference in New Issue
Block a user