diff --git a/client/src/lib/SingleDay.svelte b/client/src/lib/SingleDay.svelte index 8d5341b..a4d7505 100644 --- a/client/src/lib/SingleDay.svelte +++ b/client/src/lib/SingleDay.svelte @@ -5,6 +5,8 @@ export let symbol; export let dimensions; export let currentTime; + export let rainInMM; + export let size; const isNow = currentTime === "Jetzt"; const fontWeight = isNow ? "font-bold" : "font-light"; @@ -14,4 +16,7 @@
{currentTime}
{dailyTemp}°
+ {#if size === "L"} +
{rainInMM}
+ {/if} diff --git a/client/src/lib/WeatherOverview.svelte b/client/src/lib/WeatherOverview.svelte index 8c9d625..e8101a9 100644 --- a/client/src/lib/WeatherOverview.svelte +++ b/client/src/lib/WeatherOverview.svelte @@ -36,16 +36,18 @@ {/if} {/each} - {:else if size === "L"}{/if} + {/if}