diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-23 11:48:06 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-23 11:48:06 -0800 |
commit | 5f65762c67aacc9a621983fcb06107b982792c3f (patch) | |
tree | b4c29451fbfb2fc0e090671efc76188725ac4d59 /modern/src/Navigation.js | |
parent | d64115f88d84c85b149063cf8929d1f57c66935f (diff) | |
download | trackermap-web-5f65762c67aacc9a621983fcb06107b982792c3f.tar.gz trackermap-web-5f65762c67aacc9a621983fcb06107b982792c3f.tar.bz2 trackermap-web-5f65762c67aacc9a621983fcb06107b982792c3f.zip |
Separate connections from edit
Diffstat (limited to 'modern/src/Navigation.js')
-rw-r--r-- | modern/src/Navigation.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/Navigation.js b/modern/src/Navigation.js index f5b21dd9..c2aaa69f 100644 --- a/modern/src/Navigation.js +++ b/modern/src/Navigation.js @@ -49,6 +49,9 @@ import App from './App'; import ChangeServerPage from './other/ChangeServerPage'; import DevicesPage from './settings/DevicesPage'; import ScheduledPage from './reports/ScheduledPage'; +import DeviceConnectionsPage from './settings/DeviceConnectionsPage'; +import GroupConnectionsPage from './settings/GroupConnectionsPage'; +import UserConnectionsPage from './settings/UserConnectionsPage'; const Navigation = () => { const navigate = useNavigate(); @@ -115,6 +118,7 @@ const Navigation = () => { <Route path="attribute/:id" element={<ComputedAttributePage />} /> <Route path="attribute" element={<ComputedAttributePage />} /> <Route path="devices" element={<DevicesPage />} /> + <Route path="device/:id/connections" element={<DeviceConnectionsPage />} /> <Route path="device/:id" element={<DevicePage />} /> <Route path="device" element={<DevicePage />} /> <Route path="drivers" element={<DriversPage />} /> @@ -123,6 +127,7 @@ const Navigation = () => { <Route path="geofence/:id" element={<GeofencePage />} /> <Route path="geofence" element={<GeofencePage />} /> <Route path="groups" element={<GroupsPage />} /> + <Route path="group/:id/connections" element={<GroupConnectionsPage />} /> <Route path="group/:id" element={<GroupPage />} /> <Route path="group" element={<GroupPage />} /> <Route path="maintenances" element={<MaintenancesPage />} /> @@ -134,6 +139,7 @@ const Navigation = () => { <Route path="preferences" element={<PreferencesPage />} /> <Route path="server" element={<ServerPage />} /> <Route path="users" element={<UsersPage />} /> + <Route path="user/:id/connections" element={<UserConnectionsPage />} /> <Route path="user/:id" element={<UserPage />} /> <Route path="user" element={<UserPage />} /> </Route> |