feat(whereami): move solar/UV to bottom row

This commit is contained in:
Adriano Caloiaro 2026-04-10 08:56:27 -06:00
parent 1c255ff09e
commit a16dfe0e58
No known key found for this signature in database

View file

@ -117,11 +117,11 @@
{ label: 'Wind speed', value: fmt1(w.windspeedmph), unit: 'mph' },
{ label: 'Wind gust', value: fmt1(w.windgustmph), unit: 'mph' },
{ label: 'Pressure', value: fmt1(w.baromrelin), unit: 'inHg' },
{ label: 'UV index', value: fmt0(w.uv), unit: '' },
{ label: 'Solar', value: fmt0(w.solarradiation), unit: 'W/m²' },
{ label: 'Rain (hourly)', value: w.hourlyrainin, unit: 'in' },
{ label: 'Rain (daily)', value: w.dailyrainin, unit: 'in' },
{ label: 'Rain (weekly)', value: w.weeklyrainin, unit: 'in' },
{ label: 'Solar', value: fmt0(w.solarradiation), unit: 'W/m²' },
{ label: 'UV index', value: fmt0(w.uv), unit: '' },
].filter(function(c) { return c.value !== null && c.value !== undefined; });
if (data.conditions) {