- add routes to status page nested pages

This commit is contained in:
Shemy Gan committed 2024-12-06 10:16:53 -05:00
1 parent 0759b16f9e
commit cc2187d51e
2 files changed
+24 -8

No files matched your search

+16 -7
View File
@@ -139,20 +139,29 @@ function App() {
path="infrastructure/:monitorId"
element={<ProtectedRoute Component={InfrastructureDetailsWithAdminProp} />}
/>
<Route
path="incidents/:monitorId?"
element={<ProtectedRoute Component={Incidents} />}
/>
<Route
path="status"
element={<ProtectedRoute Component={Status} />}
path="status/general-settings"
element={
<ProtectedRoute
Component={CreateStatus}
open="general-settings"
/>
}
/>
<Route
path="status/create"
element={<ProtectedRoute Component={CreateStatus} />}
/>
path="status/contents"
element={
<ProtectedRoute
Component={CreateStatus}
open="contents"
/>
}
/>
<Route
path="integrations"
element={<ProtectedRoute Component={Integrations} />}