From 1872e8945c30101b31085a4cb53902e61c93bf24 Mon Sep 17 00:00:00 2001 From: jstet Date: Fri, 11 Oct 2024 15:02:24 +0200 Subject: [PATCH] lc page events: id not in query --- src/lib/js/parsing/processing/cards.js | 1 - .../[volunteering=volunteering]/correlaidx/[slug]/queries.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/js/parsing/processing/cards.js b/src/lib/js/parsing/processing/cards.js index 116bbf2..418f56d 100644 --- a/src/lib/js/parsing/processing/cards.js +++ b/src/lib/js/parsing/processing/cards.js @@ -73,7 +73,6 @@ export function processEvents(event, locale) { const procDate = genDate(event.date, locale, true); const id = Number(event.id); const allDay = false; - const date = parseCETDate(event.date); const start = parseCETDate(event.date + ' ' + event.start_time); const end = event.end_date diff --git a/src/routes/[[locale=locale]]/[volunteering=volunteering]/correlaidx/[slug]/queries.js b/src/routes/[[locale=locale]]/[volunteering=volunteering]/correlaidx/[slug]/queries.js index d5e0109..5d0114c 100755 --- a/src/routes/[[locale=locale]]/[volunteering=volunteering]/correlaidx/[slug]/queries.js +++ b/src/routes/[[locale=locale]]/[volunteering=volunteering]/correlaidx/[slug]/queries.js @@ -14,6 +14,7 @@ query LocalChapterDetails($slug: String, $language: String = "de-DE", $status: [ end_date title teaser + id registration_link target_group language