콘솔 주석처리, 화면관리쪽 컬럼수, 페이지네이션 수정

This commit is contained in:
leeheejin
2025-09-25 16:22:02 +09:00
parent cd84d9033c
commit 28485d6e5c
12 changed files with 179 additions and 122 deletions

View File

@@ -240,7 +240,8 @@ function AppLayoutInner({ children }: AppLayoutProps) {
const isAdminMode = pathname.startsWith("/admin") || searchParams.get("mode") === "admin";
// 현재 모드에 따라 표시할 메뉴 결정
const currentMenus = isAdminMode ? adminMenus : userMenus;
// 관리자 모드에서는 관리자 메뉴 + 사용자 메뉴(툴 생성 메뉴 포함)를 모두 표시
const currentMenus = isAdminMode ? [...adminMenus, ...userMenus] : userMenus;
// 메뉴 토글 함수
const toggleMenu = (menuId: string) => {