Tournament nav tweaks

This commit is contained in:
Kalle 2022-03-29 18:30:16 +03:00
parent 3ed1be84e1
commit 7d4c4a73f4
2 changed files with 5 additions and 2 deletions

View File

@ -126,7 +126,7 @@ function InfoBannerActionButton() {
className="info-banner__action-button"
prefetch="intent"
>
Manage team
Add players
</Link>
);
}

View File

@ -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)" });
}
}