aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-20 18:11:16 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-20 18:11:16 -0700
commitf2bd440c7fdf8857a5704f214d96aba3345a14e7 (patch)
tree1b741f3d66fa7403ca81631b782617897045c841 /modern/src/App.js
parent60f74cdaa7f737eb4749e44333a7c7166dd6db6b (diff)
downloadtrackermap-web-f2bd440c7fdf8857a5704f214d96aba3345a14e7.tar.gz
trackermap-web-f2bd440c7fdf8857a5704f214d96aba3345a14e7.tar.bz2
trackermap-web-f2bd440c7fdf8857a5704f214d96aba3345a14e7.zip
Add saved commands
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index 9417feab..1d7b2cae 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -30,6 +30,8 @@ import ComputedAttributesPage from './settings/ComputedAttributesPage';
import ComputedAttributePage from './settings/ComputedAttributePage';
import MaintenancesPage from './settings/MaintenancesPage';
import MaintenancePage from './settings/MaintenancePage';
+import CommandsPage from './settings/CommandsPage';
+import CommandPage from './settings/CommandPage';
import StatisticsPage from './admin/StatisticsPage';
import CachingController from './CachingController';
@@ -111,6 +113,8 @@ const App = () => {
<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="/settings/commands" component={CommandsPage} />
+ <Route exact path="/settings/command/:id?" component={CommandPage} />
<Route exact path="/admin/server" component={ServerPage} />
<Route exact path="/admin/users" component={UsersPage} />
<Route exact path="/admin/statistics" component={StatisticsPage} />