Use showAllRaidsOption to determine defaultValue
This commit is contained in:
parent
1bfd62627d
commit
455b31d1c2
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ const RaidDropdown = React.forwardRef<HTMLSelectElement, Props>(
|
|||
|
||||
return (
|
||||
<Select
|
||||
defaultValue={props.currentRaid}
|
||||
defaultValue={props.showAllRaidsOption ? props.currentRaid : undefined}
|
||||
placeholder={'Select a raid...'}
|
||||
open={open}
|
||||
onClick={openRaidSelect}
|
||||
|
|
|
|||
Loading…
Reference in a new issue