aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-17 09:46:30 -0800
committerGitHub <noreply@github.com>2020-12-17 09:46:30 -0800
commitbe88468a42eb4fd61c1bc5bdbf54be173825196d (patch)
tree7c6bbcbde17743b89bc13f10583078f90075508e /modern/src/App.js
parentfca5aa3cdb5d335dca14115722cacae1b724fe4f (diff)
parentff2703294a054f7808bbda36d793cbdd6ac50d47 (diff)
downloadtrackermap-web-be88468a42eb4fd61c1bc5bdbf54be173825196d.tar.gz
trackermap-web-be88468a42eb4fd61c1bc5bdbf54be173825196d.tar.bz2
trackermap-web-be88468a42eb4fd61c1bc5bdbf54be173825196d.zip
Merge pull request #803 from mail2bishnoi/driver_implementations
Drivers implementation
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} />