From 6968c76e76f40456e557c923af423aacf11f30d3 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 27 Apr 2022 00:31:58 +0200 Subject: [PATCH] fix #150 --- webcomponents/src/GancioEvents.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webcomponents/src/GancioEvents.svelte b/webcomponents/src/GancioEvents.svelte index 4aca29a4..7cbd9c70 100644 --- a/webcomponents/src/GancioEvents.svelte +++ b/webcomponents/src/GancioEvents.svelte @@ -30,9 +30,7 @@ params.push(`places=${places}`) } - if (show_recurrent) { - params.push(`show_recurrent=true`) - } + params.push(`show_recurrent=${show_recurrent?'true':'false'}`) fetch(`${baseurl}/api/events?${params.join('&')}`) .then(res => res.json())