feat: build collaboration workspaces
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
Settings,
|
||||
ShieldAlert,
|
||||
TabletSmartphone,
|
||||
UserRoundCheck,
|
||||
Users,
|
||||
Wrench,
|
||||
} from "lucide-react";
|
||||
@@ -33,6 +34,7 @@ const iconMap: Record<NavIconKey, LucideIcon> = {
|
||||
dashboard: LayoutDashboard,
|
||||
devices: TabletSmartphone,
|
||||
emergency: ShieldAlert,
|
||||
family: UserRoundCheck,
|
||||
global: Globe2,
|
||||
health: HeartPulse,
|
||||
notices: Bell,
|
||||
|
||||
@@ -8,6 +8,7 @@ export type NavIconKey =
|
||||
| "dashboard"
|
||||
| "devices"
|
||||
| "emergency"
|
||||
| "family"
|
||||
| "global"
|
||||
| "health"
|
||||
| "notices"
|
||||
@@ -78,23 +79,25 @@ export const navGroups: NavGroup[] = [
|
||||
path: "/devices",
|
||||
label: "设备运维",
|
||||
icon: "devices",
|
||||
permission: "facility:read",
|
||||
permission: "device:read",
|
||||
},
|
||||
{
|
||||
path: "/notices",
|
||||
label: "公告通知",
|
||||
icon: "notices",
|
||||
permission: "notice:read",
|
||||
},
|
||||
{
|
||||
path: "/alerts",
|
||||
label: "规则预警",
|
||||
icon: "alerts",
|
||||
permission: "incident:read",
|
||||
permission: "alert:read",
|
||||
},
|
||||
{
|
||||
path: "/family",
|
||||
label: "家属服务",
|
||||
icon: "devices",
|
||||
icon: "family",
|
||||
permission: "family:read",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user