mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-23 03:21:46 -05:00
Preact: Disable team dropdown when searching for a battle (#2566)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
--------- Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
This commit is contained in:
@@ -812,6 +812,7 @@ class TeamDropdown extends preact.Component<{ format: string }> {
|
||||
return <button
|
||||
name="team" value={this.teamKey}
|
||||
class="select teamselect" data-href="/teamdropdown" data-format={teamFormat} onChange={this.change}
|
||||
disabled={!!PS.mainmenu.searchingFormat()}
|
||||
>
|
||||
{PS.roomTypes['teamdropdown'] && <TeamBox team={team} noLink />}
|
||||
</button>;
|
||||
|
||||
Reference in New Issue
Block a user