mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Teams: Ensure manage tab properly displays for all users
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
This commit is contained in:
parent
90fc73b2e6
commit
04e9cc3f5b
|
|
@ -248,7 +248,7 @@ export class TeamViewer extends preact.Component<PageProps> {
|
|||
<label>Shortlink: </label><a href={`https://psim.us/t/${link}`}>https://psim.us/t/{link}</a><br />
|
||||
<hr />
|
||||
<div name="manage" style={{ display: 'flex', gap: '5px' }}>
|
||||
{getShowdownUsername() === this.state.team.ownerid && <button
|
||||
{toID(getShowdownUsername()) === this.state.team.ownerid && <button
|
||||
class={this.state.manageOpen ? `button notifying` : `button`}
|
||||
onClick={() => this.changeManage()}
|
||||
>Manage</button>}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user