From f53cac1b3289ea11522730ec402098db02c99321 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 25 Aug 2022 17:50:01 +0200 Subject: Fix weather icon Signed-off-by: Joas Schilling --- apps/weather_status/src/App.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/weather_status/src/App.vue b/apps/weather_status/src/App.vue index bba51163ec8..e287df4f914 100644 --- a/apps/weather_status/src/App.vue +++ b/apps/weather_status/src/App.vue @@ -504,9 +504,9 @@ export default { if (loading) { return 'icon-loading-small' } else { - return weatherCode && weatherCode in weatherOptions + return 'icon-weather ' + (weatherCode && weatherCode in weatherOptions ? weatherOptions[weatherCode].icon - : 'icon-fair-day' + : 'icon-fair-day') } }, getWeatherMessage(weatherCode, temperature, later = false) { @@ -523,6 +523,9 @@ export default {