// Top header / navigation. function AppHeader({ page, onNav, alertsCount, criticalCount }) { const items = [ { id: "dashboard", label: "Главная" }, { id: "alerts", label: "Алерты" }, { id: "team", label: "Команда" }, { id: "rules", label: "Правила" }, { id: "instructions", label: "Инструкции" }, { id: "tasks", label: "История" }, { id: "config", label: "Конфигурация" }, ]; const badgeCls = criticalCount > 0 ? "alert-badge has-alerts" : alertsCount > 0 ? "alert-badge has-warn" : "alert-badge"; return (
WorkflowTools · Watchdog
v0.3.1
polling · 30s
М
); } window.AppHeader = AppHeader;