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:
		
						commit
						431f88ab21
					
				@ -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