fix(navigation): route admin entry through admin index

This commit is contained in:
saltbo
2026-07-22 13:15:33 -04:00
parent ee5d1862ac
commit 58be589c12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export function UserAccountMenu({
</DropdownMenuSub>
{showAdminLink && isAdmin && (
<DropdownMenuItem asChild>
<Link to="/admin/storages">
<Link to="/admin">
<ShieldCheck className="mr-2 h-4 w-4" />
{t('nav.adminPanel')}
</Link>
+1 -1
View File
@@ -88,7 +88,7 @@ export function ShareLayout({ children }: ShareLayoutProps) {
</DropdownMenuItem>
{isAdmin && (
<DropdownMenuItem asChild>
<Link to="/admin/storages">
<Link to="/admin">
<ShieldCheck className="mr-2 h-4 w-4" />
{t('nav.adminPanel')}
</Link>