mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-15 07:23:06 -05:00
Tournament nav tweaks
This commit is contained in:
parent
3ed1be84e1
commit
7d4c4a73f4
|
|
@ -126,7 +126,7 @@ function InfoBannerActionButton() {
|
|||
className="info-banner__action-button"
|
||||
prefetch="intent"
|
||||
>
|
||||
Manage team
|
||||
Add players
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@ export default function TournamentPage() {
|
|||
|
||||
if (tournamentHasStarted(data.brackets)) {
|
||||
result.push({ code: `bracket/${data.brackets[0].id}`, text: "Bracket" });
|
||||
if (!tournamentIsOver) {
|
||||
|
||||
// TODO: add streams page
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
if (!tournamentIsOver && false) {
|
||||
result.push({ code: "streams", text: "Streams (4)" });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user