mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added rule use-isnan and and updated file to follow new rule (#13117)
This commit is contained in:
committed by
Torkel Ödegaard
parent
ebf253d26a
commit
f8c2b23c86
@@ -185,7 +185,7 @@ export class TableRenderer {
|
||||
}
|
||||
|
||||
const numericValue = Number(value);
|
||||
if (numericValue === NaN) {
|
||||
if (isNaN(numericValue)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user