From c616c9d798083899f1aee78946ee939b0ff4daa8 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Fri, 5 Jan 2024 22:09:07 +0100 Subject: [PATCH] display single month in-season recipes correctly --- src/routes/(rezepte)/rezepte/[name]/+page.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/routes/(rezepte)/rezepte/[name]/+page.svelte b/src/routes/(rezepte)/rezepte/[name]/+page.svelte index c3c3164..9e903bd 100644 --- a/src/routes/(rezepte)/rezepte/[name]/+page.svelte +++ b/src/routes/(rezepte)/rezepte/[name]/+page.svelte @@ -267,7 +267,12 @@ h4{

Saison:

{#each season_iv as season} - {months[season[0] - 1]}-{months[season[1] - 1]} + + {months[season[0] - 1]} + {#if season[1]} + - {months[season[1] - 1]} + {/if} + {/each}

Stichwörter: