diff --git a/frontend/src/components/dashboard/DashboardHeader.tsx b/frontend/src/components/dashboard/DashboardHeader.tsx
index 05f3585..2c073ac 100644
--- a/frontend/src/components/dashboard/DashboardHeader.tsx
+++ b/frontend/src/components/dashboard/DashboardHeader.tsx
@@ -1,3 +1,7 @@
+import { useState } from 'react';
+import { isDetailWindowOpen } from '../../lib/dualMonitor';
+import { DualMonitorIcon, PlusIcon, UsersIcon } from './HeaderIcons';
+
interface Stats {
total: number;
inProgress: number;
@@ -15,9 +19,6 @@ interface DashboardHeaderProps {
onOpenTaskManager: () => void;
}
-const ICON_BTN =
- 'team-status-btn-new grid h-8 w-8 shrink-0 place-items-center rounded-full border-[1.5px] border-[#1a4d42] bg-[linear-gradient(180deg,#0d3f34_0%,#051f19_100%)] text-[#cef1eb] shadow-[0_0_0_1px_#000,0_2px_2px_rgba(0,0,0,0.60)] transition hover:brightness-125';
-
const STAT_ACCENT = {
전체: 'text-[#ffdb3a]',
IN_PROGRESS: 'text-[#10b981]',
@@ -34,8 +35,15 @@ export function DashboardHeader({
onOpenDetailWindow,
onOpenTaskManager,
}: DashboardHeaderProps) {
+ const [detailViewActive, setDetailViewActive] = useState(isDetailWindowOpen);
const quarterLabel = quarter.replace(/^(\d{4})-Q(\d)$/, '$1 $2분기 업무');
+ const handleOpenDetailWindow = () => {
+ void Promise.resolve(onOpenDetailWindow()).then(() => {
+ setDetailViewActive(isDetailWindowOpen());
+ });
+ };
+
const statItems = [
{ label: '전체', value: stats.total, statusKey: '전체' as const },
{ label: '진행', value: stats.inProgress, statusKey: 'IN_PROGRESS' as const },
@@ -52,8 +60,8 @@ export function DashboardHeader({
|
People Growth Hub
-