diff --git a/website/common/script/libs/cleanupPinnedItems.js b/website/common/script/libs/cleanupPinnedItems.js index 0986927888..b212d65742 100644 --- a/website/common/script/libs/cleanupPinnedItems.js +++ b/website/common/script/libs/cleanupPinnedItems.js @@ -25,7 +25,8 @@ export default function cleanupPinnedItems (user) { if (type === 'background') { return matchers.backgrounds.match(pinnedItem.path.split('.')[1]); } if (type === 'premiumHatchingPotion') { - return matchers.premiumHatchingPotions.match(key); + const potion = getItemByPathAndType(type, pinnedItem.path); + return potion.questPotion || matchers.premiumHatchingPotions.match(key); } if (type === 'mystery_set') { return matchers.timeTravelers.match(key); } if (type === 'seasonalQuest') {