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())