Fix merge issue

This commit is contained in:
Phillip Thelen
2024-04-26 12:04:18 +02:00
parent 80a212683d
commit b373eaff39

View File

@@ -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: [],