aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
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 83fd9315..6b004ee2 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -22,6 +22,8 @@ import TripReportPage from './reports/TripReportPage';
import StopReportPage from './reports/StopReportPage';
import SummaryReportPage from './reports/SummaryReportPage';
import ChartReportPage from './reports/ChartReportPage';
+import DriversPage from './settings/DriversPage';
+import DriverPage from './settings/DriverPage';
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -40,13 +42,15 @@ const App = () => {
<Route exact path='/position/:id?' component={PositionPage} />
<Route exact path='/user/:id?' component={UserPage} />
<Route exact path='/device/:id?' component={DevicePage} />
- <Route exact path='/reports/route' component={RouteReportPage} />
<Route exact path='/settings/notifications' component={NotificationsPage} />
<Route exact path='/settings/notification/:id?' component={NotificationPage} />
<Route exact path='/settings/groups' component={GroupsPage} />
<Route exact path='/settings/group/:id?' component={GroupPage} />
+ <Route exact path='/settings/drivers' component={DriversPage} />
+ <Route exact path='/settings/driver/:id?' component={DriverPage} />
<Route exact path='/admin/server' component={ServerPage} />
<Route exact path='/admin/users' component={UsersPage} />
+ <Route exact path='/reports/route' component={RouteReportPage} />
<Route exact path='/reports/event' component={EventReportPage} />
<Route exact path='/reports/trip' component={TripReportPage} />
<Route exact path='/reports/stop' component={StopReportPage} />