From f161987e1e370784a8eddc4171d1292b4bc120f7 Mon Sep 17 00:00:00 2001 From: Kirsty Date: Sat, 13 Oct 2018 19:07:30 +0100 Subject: [PATCH] check officialPinnedItems for gala gear in market (#10745) --- website/common/script/libs/getItemInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/script/libs/getItemInfo.js b/website/common/script/libs/getItemInfo.js index bd65552af6..151ae0bb28 100644 --- a/website/common/script/libs/getItemInfo.js +++ b/website/common/script/libs/getItemInfo.js @@ -338,7 +338,7 @@ module.exports = function getItemInfo (user, type, item, officialPinnedItems, la if (itemInfo) { itemInfo.isSuggested = isItemSuggested(officialPinnedItems, itemInfo); - itemInfo.pinned = isPinned(user, itemInfo); + itemInfo.pinned = isPinned(user, itemInfo, officialPinnedItems); } else { throw new BadRequest(i18n.t('wrongItemType', {type}, language)); }