mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Update openmeteo-condition-map.js
This commit is contained in:
parent
e303888119
commit
f89093a067
1 changed files with 0 additions and 1 deletions
|
@ -196,7 +196,6 @@ const conditions = [
|
||||||
|
|
||||||
export default function mapIcon(weatherStatusCode, timeOfDay) {
|
export default function mapIcon(weatherStatusCode, timeOfDay) {
|
||||||
const mapping = conditions.find((condition) => condition.code === weatherStatusCode);
|
const mapping = conditions.find((condition) => condition.code === weatherStatusCode);
|
||||||
console.log(weatherStatusCode, timeOfDay, mapping);
|
|
||||||
|
|
||||||
if (mapping) {
|
if (mapping) {
|
||||||
if (timeOfDay === "day") {
|
if (timeOfDay === "day") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue