mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Cleanup pinned items that are no longer for purchase
This commit is contained in:
@@ -835,7 +835,7 @@ function makeMatcherClass () {
|
||||
};
|
||||
}
|
||||
|
||||
export function getScheduleMatchingGroup (type, date) {
|
||||
export function getAllScheduleMatchingGroups (date) {
|
||||
const checkedDate = date || new Date();
|
||||
if (cacheDate !== null && (getDay(checkedDate) !== getDay(cacheDate)
|
||||
|| getMonth(checkedDate) !== getMonth(cacheDate))) {
|
||||
@@ -869,7 +869,7 @@ export function getScheduleMatchingGroup (type, date) {
|
||||
},
|
||||
};
|
||||
}
|
||||
return cachedScheduleMatchers[type];
|
||||
return matchingGroups[type];
|
||||
}
|
||||
|
||||
export function getCurrentGalaKey (date) {
|
||||
|
||||
Reference in New Issue
Block a user