aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings')
-rw-r--r--modern/src/settings/UsersPage.js2
-rw-r--r--modern/src/settings/components/OptionsLayout.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/settings/UsersPage.js b/modern/src/settings/UsersPage.js
index 07c859d5..bdadf845 100644
--- a/modern/src/settings/UsersPage.js
+++ b/modern/src/settings/UsersPage.js
@@ -63,7 +63,7 @@ const UsersView = ({ updateTimestamp, onMenuClick }) => {
const UsersPage = () => (
<OptionsLayout>
- <EditCollectionView content={UsersView} editPath="/user" endpoint="users" />
+ <EditCollectionView content={UsersView} editPath="/settings/user" endpoint="users" />
</OptionsLayout>
);
diff --git a/modern/src/settings/components/OptionsLayout.js b/modern/src/settings/components/OptionsLayout.js
index ea4a4e1f..af104b01 100644
--- a/modern/src/settings/components/OptionsLayout.js
+++ b/modern/src/settings/components/OptionsLayout.js
@@ -80,7 +80,7 @@ const OptionsLayout = ({ children }) => {
const mainRoutes = useMemo(() => [
{ name: t('sharedNotifications'), href: '/settings/notifications', icon: <NotificationsIcon /> },
- { name: t('settingsUser'), href: `/user/${userId}`, icon: <PersonIcon /> },
+ { name: t('settingsUser'), href: `/settings/user/${userId}`, icon: <PersonIcon /> },
{ name: t('sharedGeofences'), href: '/geofences', icon: <CreateIcon /> },
{ name: t('settingsGroups'), href: '/settings/groups', icon: <FolderIcon /> },
{ name: t('sharedDrivers'), href: '/settings/drivers', icon: <PersonIcon /> },
@@ -92,9 +92,9 @@ const OptionsLayout = ({ children }) => {
const adminRoutes = useMemo(() => [
{ subheader: t('userAdmin') },
- { name: t('settingsServer'), href: '/admin/server', icon: <StorageIcon /> },
- { name: t('settingsUsers'), href: '/admin/users', icon: <PeopleIcon /> },
- { name: t('statisticsTitle'), href: '/admin/statistics', icon: <BarChartIcon /> },
+ { name: t('settingsServer'), href: '/settings/server', icon: <StorageIcon /> },
+ { name: t('settingsUsers'), href: '/settings/users', icon: <PeopleIcon /> },
+ { name: t('statisticsTitle'), href: '/reports/statistics', icon: <BarChartIcon /> },
], [t]);
const routes = useMemo(() => (