From b373eaff39d396ad809b154deb5ad9f11e9eb7cf Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Fri, 26 Apr 2024 12:04:18 +0200 Subject: [PATCH] Fix merge issue --- website/common/script/content/constants/schedule.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/common/script/content/constants/schedule.js b/website/common/script/content/constants/schedule.js index a8b7f671b9..c09179de2f 100644 --- a/website/common/script/content/constants/schedule.js +++ b/website/common/script/content/constants/schedule.js @@ -862,7 +862,12 @@ export function getAllScheduleMatchingGroups (date) { } }); } - if (!cachedScheduleMatchers[type]) { + return cachedScheduleMatchers; +} + +export function getScheduleMatchingGroup (type, date) { + const matchingGroups = getAllScheduleMatchingGroups(date); + if (!matchingGroups[type]) { // No matchers exist for this type return { items: [],