From 6bd1657a60bfcec53ff8a7623ec4651c68788c6f Mon Sep 17 00:00:00 2001 From: Hyelim Choi Date: Tue, 9 Jan 2024 17:35:56 +0900 Subject: [PATCH] feat: link to each page --- src/layouts/dashboard/dept-button.tsx | 2 +- src/layouts/dashboard/nav-vertical.tsx | 2 +- src/sections/dashboard/admin-view.tsx | 19 ++++++++++++------- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/layouts/dashboard/dept-button.tsx b/src/layouts/dashboard/dept-button.tsx index 54a48bd..48b8daf 100644 --- a/src/layouts/dashboard/dept-button.tsx +++ b/src/layouts/dashboard/dept-button.tsx @@ -174,7 +174,7 @@ export default function DeptHeaderButton() { {option.deptName} - {option.deptMemberResponse[0].deptRole === 'Admin' ? ( + {option.deptMemberResponse[0].deptRole === 'ADMIN' ? ( {typeof userDeptInfo === 'object' && - userDeptInfo.deptMemberResponse[0].deptRole === 'Admin' ? ( + userDeptInfo.deptMemberResponse[0].deptRole === 'ADMIN' ? ( (new Date()); @@ -57,7 +65,7 @@ export default function AdminDashboardView() { {/* 분석 카드 4개 */} - + - + - + - + */} - - {/* */} - {/* */} ); }