diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-08 09:21:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 09:21:04 -0800 |
commit | 2201f5417f41204453e3cd53da003296925282aa (patch) | |
tree | 5f9a8ffedc10160ce3aecc7f4f1cb50074a4497f /modern/src/App.js | |
parent | be88468a42eb4fd61c1bc5bdbf54be173825196d (diff) | |
parent | f48e7801d86ca3d8b831358013823dd62d33c7ee (diff) | |
download | etbsa-traccar-web-2201f5417f41204453e3cd53da003296925282aa.tar.gz etbsa-traccar-web-2201f5417f41204453e3cd53da003296925282aa.tar.bz2 etbsa-traccar-web-2201f5417f41204453e3cd53da003296925282aa.zip |
Merge pull request #806 from mail2bishnoi/computed_attributes
Computed Attributes
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index 6b004ee..f5ebc14 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -24,6 +24,8 @@ import SummaryReportPage from './reports/SummaryReportPage'; import ChartReportPage from './reports/ChartReportPage'; import DriversPage from './settings/DriversPage'; import DriverPage from './settings/DriverPage'; +import ComputedAttributesPage from './settings/ComputedAttributesPage'; +import ComputedAttributePage from './settings/ComputedAttributePage'; const App = () => { const initialized = useSelector(state => !!state.session.server && !!state.session.user); @@ -47,7 +49,9 @@ const App = () => { <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='/settings/driver/:id?' component={DriverPage} /> + <Route exact path='/settings/attributes' component={ComputedAttributesPage} /> + <Route exact path='/settings/attribute/:id?' component={ComputedAttributePage} /> <Route exact path='/admin/server' component={ServerPage} /> <Route exact path='/admin/users' component={UsersPage} /> <Route exact path='/reports/route' component={RouteReportPage} /> |