diff options
Diffstat (limited to 'modern/src/settings/components/SettingsMenu.js')
-rw-r--r-- | modern/src/settings/components/SettingsMenu.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/modern/src/settings/components/SettingsMenu.js b/modern/src/settings/components/SettingsMenu.js index 181cd74c..51d9b8fc 100644 --- a/modern/src/settings/components/SettingsMenu.js +++ b/modern/src/settings/components/SettingsMenu.js @@ -67,12 +67,14 @@ const SettingsMenu = () => { icon={<CreateIcon />} selected={location.pathname.startsWith('/settings/geofence')} /> - <MenuItem - title={t('settingsGroups')} - link="/settings/groups" - icon={<FolderIcon />} - selected={location.pathname.startsWith('/settings/group')} - /> + {!features.disableGroups && ( + <MenuItem + title={t('settingsGroups')} + link="/settings/groups" + icon={<FolderIcon />} + selected={location.pathname.startsWith('/settings/group')} + /> + )} {!features.disableDrivers && ( <MenuItem title={t('sharedDrivers')} |