fix(admin): 관리자 패널 '← 사용자' 링크 404 — /dashboard → /m/orders/new
Deploy momo-erp / deploy (push) Successful in 6m25s
Deploy momo-erp / deploy (push) Successful in 6m25s
- admin-panel 헤더 '← 사용자' 링크가 삭제된 /dashboard 로 가서 404 발생 - 동일 패턴: login 페이지 fallback redirect 도 /m/orders/new 로 정정 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,7 @@ export default function LoginPage() {
|
||||
localStorage.removeItem(SAVE_KEY);
|
||||
}
|
||||
} catch { /* ignore */ }
|
||||
router.push(data.redirectTo || "/dashboard");
|
||||
router.push(data.redirectTo || "/m/orders/new");
|
||||
} else {
|
||||
Swal.fire({
|
||||
icon: "error",
|
||||
|
||||
@@ -151,7 +151,7 @@ export default function AdminPanelPage() {
|
||||
관리자
|
||||
</h1>
|
||||
<a
|
||||
href="/dashboard"
|
||||
href="/m/orders/new"
|
||||
className="text-[10px] text-gray-400 hover:text-white hover:underline"
|
||||
title="일반 사용자 메뉴로 돌아가기"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user