aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-02-04 16:33:02 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-02-04 16:33:02 +0530
commit4dbe654290c3d1f6051ea9650549f7c254d321b4 (patch)
treec56014540733b9ee9f1f2400f48dc80834ab9f4a /modern/src/App.js
parent65af8bad51851ff7f15319d5ce14ff24697aaded (diff)
downloadtrackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.tar.gz
trackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.tar.bz2
trackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.zip
Initial Maintenance Screen
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index f5ebc148..db2f7a9c 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -26,6 +26,8 @@ import DriversPage from './settings/DriversPage';
import DriverPage from './settings/DriverPage';
import ComputedAttributesPage from './settings/ComputedAttributesPage';
import ComputedAttributePage from './settings/ComputedAttributePage';
+import MaintenancesPage from './settings/MaintenancesPage';
+import MaintenancePage from './settings/MaintenancePage';
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -51,7 +53,9 @@ const App = () => {
<Route exact path='/settings/drivers' component={DriversPage} />
<Route exact path='/settings/driver/:id?' component={DriverPage} />
<Route exact path='/settings/attributes' component={ComputedAttributesPage} />
- <Route exact path='/settings/attribute/:id?' component={ComputedAttributePage} />
+ <Route exact path='/settings/attribute/:id?' component={ComputedAttributePage} />
+ <Route exact path='/settings/maintenances' component={MaintenancesPage} />
+ <Route exact path='/settings/maintenance/:id?' component={MaintenancePage} />
<Route exact path='/admin/server' component={ServerPage} />
<Route exact path='/admin/users' component={UsersPage} />
<Route exact path='/reports/route' component={RouteReportPage} />