mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fixed number formatting
This commit is contained in:
parent
801fa66fad
commit
d64f9b3310
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ define([
|
|||
|
||||
var y_format_metric_value = function (value, metric) {
|
||||
// If this isn't a number, change nothing
|
||||
if(!_.isNaN(value) || !_.isFinite(value)) {
|
||||
if(_.isNaN(value) || !_.isFinite(value)) {
|
||||
console.log(value);
|
||||
return value;
|
||||
}
|
||||
if (metric.y_format === 'bytes') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue