feat(whereami): move solar/UV to bottom row
This commit is contained in:
parent
1c255ff09e
commit
a16dfe0e58
1 changed files with 3 additions and 3 deletions
|
|
@ -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: '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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue