From b9a3ee7f3070016a2d47cfdaa89adae3c1529fd6 Mon Sep 17 00:00:00 2001 From: MynahMarie Date: Tue, 18 Feb 2020 12:42:59 +0200 Subject: [PATCH] remove unecessary checks for addlNotes in getItemInfo.js --- website/common/script/libs/getItemInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/common/script/libs/getItemInfo.js b/website/common/script/libs/getItemInfo.js index 11cf89384c..9976ada32f 100644 --- a/website/common/script/libs/getItemInfo.js +++ b/website/common/script/libs/getItemInfo.js @@ -72,7 +72,7 @@ export default function getItemInfo (user, type, item, officialPinnedItems, lang itemInfo = { key: item.key, text: i18n.t('potion', { potionType: item.text(language) }), - notes: item._addlNotes ? item.notes(language) : null, + notes: item.notes(language), class: `Pet_HatchingPotion_${item.key}`, value: item.value, locked: false, @@ -86,7 +86,7 @@ export default function getItemInfo (user, type, item, officialPinnedItems, lang itemInfo = { key: item.key, text: i18n.t('potion', { potionType: item.text(language) }), - notes: item._addlNotes ? `${item.notes(language)} ${item._addlNotes(language)}` : null, + notes: `${item.notes(language)} ${item._addlNotes(language)}`, class: `Pet_HatchingPotion_${item.key}`, value: item.value, locked: false,