feat: prefer admin settings page over users page (#24780)

This commit is contained in:
Jason Rasmussen 2025-12-22 11:31:22 -05:00 committed by GitHub
parent 40e750e8be
commit 952f189d8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
</Button>
{#if $user.isAdmin}
<Button
href={AppRoute.ADMIN_USERS}
href={AppRoute.ADMIN_SETTINGS}
onclick={onClose}
shape="round"
variant="ghost"

View File

@ -3,5 +3,5 @@ import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
export const load = (() => {
redirect(302, AppRoute.ADMIN_USERS);
redirect(302, AppRoute.ADMIN_SETTINGS);
}) satisfies PageLoad;