mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-29 14:50:13 -05:00
Rename manage-roster -> manage-team
This commit is contained in:
@@ -122,11 +122,11 @@ function InfoBannerActionButton() {
|
||||
if (alreadyRegistered) {
|
||||
return (
|
||||
<Link
|
||||
to="manage-roster"
|
||||
to="manage-team"
|
||||
className="info-banner__action-button"
|
||||
prefetch="intent"
|
||||
>
|
||||
Manage roster
|
||||
Manage team
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,8 @@ export default function TournamentPage() {
|
||||
if (isTournamentAdmin({ userId: user?.id, organization: data.organizer })) {
|
||||
result.push({
|
||||
code: "manage",
|
||||
text: "Manage",
|
||||
// TODO: figure out a good name
|
||||
text: "Controls",
|
||||
icon: <AdminIcon />,
|
||||
});
|
||||
if (!tournamentHasStarted(data.brackets)) {
|
||||
|
||||
@@ -164,7 +164,7 @@ export const loader: LoaderFunction = async ({ params, context }) => {
|
||||
};
|
||||
|
||||
// TODO: should not 404 but redirect instead - catchBoundary?
|
||||
export default function ManageRosterPage() {
|
||||
export default function ManageTeamPage() {
|
||||
const actionData = useActionData<ActionData>();
|
||||
const { ownTeam, trustingUsers } = useLoaderData<Data>();
|
||||
const baseURL = useBaseURL();
|
||||
Reference in New Issue
Block a user