feat: add support page to the admin routes

This commit is contained in:
Nathnael
2026-07-17 11:06:44 +00:00
parent 031e5ab292
commit d0411f9da2

View File

@@ -18,13 +18,13 @@ import {
Send,
Settings,
ShieldCheck,
Settings2,
Ship,
SlidersHorizontal,
Train,
Truck,
Users,
Wallet,
LifeBuoy,
} from "lucide-react";
import { useEffect } from "react";
import {
@@ -132,6 +132,7 @@ import { HealthCheck } from "./features/health/HealthCheck";
import FaydaCallbackPage from "./pages/FaydaCallbackPage";
import { UserManagementRoutes } from "./user-management/route";
import SetPassword from "./shared/components/SetPassword";
import SupportInboxPage from "./pages/support/SupportInboxPage";
const buildSidebarSections = (demoItems: SidebarItem[]): SidebarSection[] => [
{
@@ -178,6 +179,11 @@ const buildSidebarSections = (demoItems: SidebarItem[]): SidebarSection[] => [
icon: <Receipt />,
permission: FREIGHT_PERMS.bookings.view,
},
{
label: "Support",
href: "/dashboard/support",
icon: <LifeBuoy />,
},
...demoItems,
],
},
@@ -713,6 +719,7 @@ const App = () => {
</RequirePermission>
}
/>
<Route path="support" element={<SupportInboxPage />} />
<Route path="customers" element={<CustomersPage />} />
<Route path="customers/:id" element={<CustomerDetailPage />} />
<Route