mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 22:07:36 -05:00
feat: prefer admin settings page over users page (#24780)
This commit is contained in:
parent
40e750e8be
commit
952f189d8b
@ -78,7 +78,7 @@
|
||||
</Button>
|
||||
{#if $user.isAdmin}
|
||||
<Button
|
||||
href={AppRoute.ADMIN_USERS}
|
||||
href={AppRoute.ADMIN_SETTINGS}
|
||||
onclick={onClose}
|
||||
shape="round"
|
||||
variant="ghost"
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user