mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
feat: prefer admin settings page over users page (#24780)
This commit is contained in:
parent
40e750e8be
commit
952f189d8b
2 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@
|
||||||
</Button>
|
</Button>
|
||||||
{#if $user.isAdmin}
|
{#if $user.isAdmin}
|
||||||
<Button
|
<Button
|
||||||
href={AppRoute.ADMIN_USERS}
|
href={AppRoute.ADMIN_SETTINGS}
|
||||||
onclick={onClose}
|
onclick={onClose}
|
||||||
shape="round"
|
shape="round"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ import { redirect } from '@sveltejs/kit';
|
||||||
import type { PageLoad } from './$types';
|
import type { PageLoad } from './$types';
|
||||||
|
|
||||||
export const load = (() => {
|
export const load = (() => {
|
||||||
redirect(302, AppRoute.ADMIN_USERS);
|
redirect(302, AppRoute.ADMIN_SETTINGS);
|
||||||
}) satisfies PageLoad;
|
}) satisfies PageLoad;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue