statistic number data fix
This commit is contained in:
parent
82c546feb3
commit
ac0c7ed7b2
@ -270,7 +270,7 @@ export class GatewayStatisticsComponent extends PageComponent implements AfterVi
|
||||
return;
|
||||
}
|
||||
this.dataSource.data = this.subscription.data.length ? this.subscription.data[0].data : [];
|
||||
this.isNumericData = this.dataSource.data.every(data => isNumber(data[1]));
|
||||
this.isNumericData = this.dataSource.data.every(data => !isNaN(+data[1]) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user