From d74f2398fd099817ad12a624fd53a737eb7bd45d Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Sat, 13 Jan 2024 12:26:14 -0500 Subject: [PATCH] fix: forgot my own type i18n keys --- server/src/services/filters/builder/pokestop.js | 2 +- src/components/popups/Pokestop.jsx | 4 +++- src/hooks/useTranslateById.js | 2 +- src/services/filtering/genPokestops.js | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/server/src/services/filters/builder/pokestop.js b/server/src/services/filters/builder/pokestop.js index 97dcb2eb1..928a839f2 100644 --- a/server/src/services/filters/builder/pokestop.js +++ b/server/src/services/filters/builder/pokestop.js @@ -80,7 +80,7 @@ function buildPokestops(perms, defaults) { if (perms.eventStops && avail.startsWith('b')) { quests[avail] = new BaseFilter(defaults.eventStops) } - if (perms.eventStops && avail.startsWith('f')) { + if (perms.eventStops && (avail.startsWith('f') || avail.startsWith('h'))) { quests[avail] = new BaseFilter(defaults.showcasePokemon) } }) diff --git a/src/components/popups/Pokestop.jsx b/src/components/popups/Pokestop.jsx index 5157bcce2..6ee924de7 100644 --- a/src/components/popups/Pokestop.jsx +++ b/src/components/popups/Pokestop.jsx @@ -224,7 +224,9 @@ export default function PokestopPopup({ ) : event.showcase_pokemon_type_id ? (