mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix errors
This commit is contained in:
@@ -272,7 +272,7 @@ shops.getQuestShopCategories = function getQuestShopCategories (user, language)
|
||||
};
|
||||
|
||||
bundleCategory.items = sortBy(values(content.bundles)
|
||||
.filter(bundle => bundle.type === 'quests' && bundle.canBuy())
|
||||
.filter(bundle => bundle.type === 'quests')
|
||||
.map(bundle => getItemInfo(user, 'bundles', bundle, officialPinnedItems, language)));
|
||||
|
||||
if (bundleCategory.items.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user