Teams: Ensure manage tab properly displays for all users
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run

This commit is contained in:
Mia 2025-04-16 20:05:13 -05:00
parent 90fc73b2e6
commit 04e9cc3f5b

View File

@ -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>}