prometheus/web/ui/static
David Coles 1591ebf985 ui: Fix hover when metric has null value. (#4906)
When a metric has a null value, number formatters like
`humanizeNoSmallPrefix` will throw "Uncaught TypeError: Cannot read
property 'toPrecision' of null".

This is fixed by explicitly checking for `null` and returning the string
"null".

Note: This is usually not seen as rickshaw doesn't show annotations for
null values, but still calls the formatter.

Signed-off-by: David Coles <coles.david@gmail.com>
2018-11-25 14:16:48 +08:00
..
css Improve rule views by wrapping lines (#4702) 2018-10-07 15:31:16 +01:00
img add favicon 2016-12-27 13:58:51 +01:00
js ui: Fix hover when metric has null value. (#4906) 2018-11-25 14:16:48 +08:00
vendor Update moment.js and moment-timezone.js (#4679) 2018-10-10 09:48:06 +01:00