Don't show items in the seasonal shop that can't be purchased (#7859)
* making an api chnage so the seasonal shop will only return items that the user has never owned instead of all items the user doesn't currently own * fixing commit so shop doesn't show already owned items * recommenting out seasonal shop message as it's currently closed
This commit is contained in:
@@ -231,7 +231,7 @@ shops.getSeasonalShopCategories = function getSeasonalShopCategories (user, lang
|
||||
if (gear.index !== key) {
|
||||
return false;
|
||||
}
|
||||
return user.items.gear.owned[gear.key] !== true;
|
||||
return user.items.gear.owned[gear.key] === undefined;
|
||||
}).where({index: key}).map(gear => {
|
||||
return {
|
||||
key: gear.key,
|
||||
|
||||
Reference in New Issue
Block a user