mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(shop): don't show current month's mystery set in time travelers (#13492)
This commit is contained in:
@@ -28,7 +28,7 @@ const timeTravelerStore = user => {
|
|||||||
if (
|
if (
|
||||||
k === 'wondercon'
|
k === 'wondercon'
|
||||||
|| ownedKeys.indexOf(v.items[0].key) !== -1
|
|| ownedKeys.indexOf(v.items[0].key) !== -1
|
||||||
|| (moment(k).isAfter() && moment(k).isBefore('3000-01-01'))
|
|| (moment(k).add(1, 'months').isAfter() && moment(k).isBefore('3000-01-01'))
|
||||||
) {
|
) {
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user