aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/components/OptionsLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/components/OptionsLayout.js')
-rw-r--r--modern/src/settings/components/OptionsLayout.js8
1 files changed, 4 insertions, 4 deletions
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(() => (