Fix UV index number not showing if zero

This commit is contained in:
Skylar Ittner 2020-09-25 22:21:24 -06:00
parent e7bf4fbcbd
commit 1704ab0140

View File

@ -79,7 +79,7 @@ function loadWeather(reload) {
app.gauge.get('#nowuvindexgauge').update({
value: Math.min(resp.now.uv_index, 10) / 10,
valueText: resp.now.uv_index,
valueText: resp.now.uv_index + "",
borderColor: colorThemeNameToHex(uvIndexToColor(resp.now.uv_index))
});