mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
WIP(shops): cShop reconciled to schedule backend
This commit is contained in:
committed by
Phillip Thelen
parent
4bbdf27f48
commit
558894fafd
@@ -862,13 +862,13 @@ export function getAllScheduleMatchingGroups (date) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return cachedScheduleMatchers;
|
if (!cachedScheduleMatchers[type]) {
|
||||||
}
|
let end = moment(checkedDate).date(TYPE_SCHEDULE[type]);
|
||||||
|
if (end.date() <= checkedDate.date()) {
|
||||||
export function getScheduleMatchingGroup (type, date) {
|
end = moment(end).add(1, 'months');
|
||||||
const matchingGroups = getAllScheduleMatchingGroups(date);
|
}
|
||||||
if (!matchingGroups[type]) {
|
|
||||||
return {
|
return {
|
||||||
|
end: end.toDate(),
|
||||||
items: [],
|
items: [],
|
||||||
match () {
|
match () {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user