Remove maintenance from sidebar and comment out routes

This commit is contained in:
Alex Holliday committed 2024-09-19 22:16:15 +08:00
1 parent dfa2d43a01
commit 37f5e0024c
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -83,14 +83,14 @@ function App() {
path="integrations" path="integrations"
element={<ProtectedRoute Component={Integrations} />} element={<ProtectedRoute Component={Integrations} />}
/> />
<Route {/* <Route
path="maintenance" path="maintenance"
element={<ProtectedRoute Component={MaintenanceWithAdminProp} />} element={<ProtectedRoute Component={MaintenanceWithAdminProp} />}
/> /> */}
<Route {/* <Route
path="/maintenance/create" path="/maintenance/create"
element={<CreateNewMaintenanceWindow />} element={<CreateNewMaintenanceWindow />}
/> /> */}
<Route <Route
path="settings" path="settings"
element={<ProtectedRoute Component={SettingsWithAdminProp} />} element={<ProtectedRoute Component={SettingsWithAdminProp} />}
+1 -1
View File
@@ -55,7 +55,7 @@ const menu = [
}, },
{ name: "Incidents", path: "incidents", icon: <Incidents /> }, { name: "Incidents", path: "incidents", icon: <Incidents /> },
// { name: "Status pages", path: "status", icon: <StatusPages /> }, // { name: "Status pages", path: "status", icon: <StatusPages /> },
{ name: "Maintenance", path: "maintenance", icon: <Maintenance /> }, // { name: "Maintenance", path: "maintenance", icon: <Maintenance /> },
// { name: "Integrations", path: "integrations", icon: <Integrations /> }, // { name: "Integrations", path: "integrations", icon: <Integrations /> },
{ {
name: "Account", name: "Account",