Fix featured items
This commit is contained in:
@@ -41,7 +41,19 @@ const featuredItems = {
|
||||
});
|
||||
return featured;
|
||||
},
|
||||
seasonal: 'spring2019CloudRogueSet',
|
||||
seasonal () {
|
||||
const featured = [];
|
||||
const itemKeys = getScheduleMatchingGroup('premiumHatchingPotions').items;
|
||||
itemKeys.forEach(itemKey => {
|
||||
if (featured.length < 4) {
|
||||
featured.push({
|
||||
type: 'premiumHatchingPotion',
|
||||
path: `premiumHatchingPotions.${itemKey}`,
|
||||
});
|
||||
}
|
||||
});
|
||||
return featured;
|
||||
},
|
||||
timeTravelers: [
|
||||
// TODO
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user