Skip to content

Commit

Permalink
fix: hide all logic in adv menu for some items
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 10, 2024
1 parent fc6c8ac commit 0561829
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/layout/dialogs/filters/Advanced.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,13 @@ export default function AdvancedFilter() {
/>
)}
{category === 'pokestops' && <QuestConditionSelector id={id} />}
{category === 'pokemon' || category === 'pokestops' ? (
{category === 'pokemon' ||
(category === 'pokestops' &&
!(
id.startsWith('l') ||
id.startsWith('i') ||
id.startsWith('f')
)) ? (
<DualBoolToggle
items={ENABLED_ALL}
field={`filters.${category}.filter.${id}`}
Expand Down

0 comments on commit 0561829

Please sign in to comment.