Skip to content

Commit

Permalink
fix: pokemon ui inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Feb 27, 2024
1 parent 31ee510 commit 0cb334c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/layout/drawer/Pokemon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { SelectorListMemo } from './SelectorList'
import { BasicListButton } from '../general/BasicListButton'

function PokemonDrawer() {
const legacyFilter = useStorage((s) => s.userSettings.pokemon.legacyFilter)
const filterMode = useStorage((s) => s.getPokemonFilterMode())
const [ivOr, setIvOr] = useDeepStore('filters.pokemon.ivOr')
const { t } = useTranslation()
Expand Down Expand Up @@ -116,7 +115,7 @@ function PokemonDrawer() {
label="link_global_and_advanced"
/>
</Collapse>
{legacyFilter && ui.legacy ? (
{filterMode === 'expert' && ui.legacy ? (
<StringFilterMemo field="filters.pokemon.ivOr" />
) : (
<>
Expand Down

0 comments on commit 0cb334c

Please sign in to comment.