mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +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 (
|
||||
k === 'wondercon'
|
||||
|| 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user