mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
guh²
This commit is contained in:
parent
3599123b3c
commit
9fcdb24e3a
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ function renderWeatherCard(context, data, units){
|
|||
|
||||
let secondaryPills = [];
|
||||
if(data.result.current.humidity > 0) secondaryPills.push(`${pill("Humidity")} ${smallPill(Math.floor(data.result.current.humidity * 100) + "%")}`)
|
||||
if(data.result.current.uvindex > 0) secondaryPills.push(`${iconPill(getUvIndex(data.result.uvindex), "UV Index")} ${smallPill(data.result.current.uvindex)}`)
|
||||
if(data.result.current.uvindex > 0) secondaryPills.push(`${iconPill(getUvIndex(data.result.current.uvindex), "UV Index")} ${smallPill(data.result.current.uvindex)}`)
|
||||
|
||||
if(secondaryPills.length >= 1) description += '\n' + secondaryPills.join(` `)
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ function renderWeatherCard(context, data, units){
|
|||
|
||||
let secondaryPills = [];
|
||||
if(data.result.current.humidity > 0) secondaryPills.push(`${pill("Humidity")} ${smallPill(Math.floor(data.result.current.humidity * 100) + "%")}`)
|
||||
if(data.result.current.uvindex > 0) secondaryPills.push(`${iconPill(getUvIndex(data.result.uvindex), "UV Index")} ${smallPill(data.result.current.uvindex)}`)
|
||||
if(data.result.current.uvindex > 0) secondaryPills.push(`${iconPill(getUvIndex(data.result.current.uvindex), "UV Index")} ${smallPill(data.result.current.uvindex)}`)
|
||||
|
||||
if(secondaryPills.length >= 1) description += '\n' + secondaryPills.join(` `)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue