- Move create infrastructure folder to infrastructure and remove Infrastructuremonitor folder
- Add create infrastructure page to globle routes and add "infrastructure" to PATH_MAP - Add navigation/breadcrumb to create infrastructure page - Connect create infrastructure page to create monitor button on home page
This commit is contained in:
1 parent
657a953ad9
commit
8b8a0962db
5 files changed
+12
-5
No files matched your search
+5
-1
@@ -10,6 +10,7 @@ import Register from "./Pages/Auth/Register/Register";
|
||||
import Account from "./Pages/Account";
|
||||
import Monitors from "./Pages/Monitors/Home";
|
||||
import CreateMonitor from "./Pages/Monitors/CreateMonitor";
|
||||
import CreateInfrastructureMonitor from "./Pages/Infrastructure/CreateMonitor";
|
||||
import Incidents from "./Pages/Incidents";
|
||||
import Status from "./Pages/Status";
|
||||
import Integrations from "./Pages/Integrations";
|
||||
@@ -127,7 +128,10 @@ function App() {
|
||||
path="infrastructure"
|
||||
element={<ProtectedRoute Component={Infrastructure} />}
|
||||
/>
|
||||
|
||||
<Route
|
||||
path="infrastructure/create"
|
||||
element={<ProtectedRoute Component={CreateInfrastructureMonitor} />}
|
||||
/>
|
||||
<Route
|
||||
path="incidents/:monitorId?"
|
||||
element={<ProtectedRoute Component={Incidents} />}
|
||||
|
||||
Reference in new issue
Block a user