aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainToolbar.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-30 22:06:29 -0700
committerGitHub <noreply@github.com>2020-09-30 22:06:29 -0700
commit739ca4cb813a7deb910f3dcb1655ae9d484e6487 (patch)
tree2814a7b5542ee14f412196eb14702ffd89966bc8 /modern/src/MainToolbar.js
parent94e8c40f52b239562aded5e70e334ddbb2eea23b (diff)
parent23466068f868b631aca5e1b9c4ecf5c846541fd2 (diff)
downloadtrackermap-web-739ca4cb813a7deb910f3dcb1655ae9d484e6487.tar.gz
trackermap-web-739ca4cb813a7deb910f3dcb1655ae9d484e6487.tar.bz2
trackermap-web-739ca4cb813a7deb910f3dcb1655ae9d484e6487.zip
Merge pull request #784 from traccar/groups
Implement groups management
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r--modern/src/MainToolbar.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js
index 9d4824ac..374c694c 100644
--- a/modern/src/MainToolbar.js
+++ b/modern/src/MainToolbar.js
@@ -28,6 +28,7 @@ import PlayCircleFilledIcon from '@material-ui/icons/PlayCircleFilled';
import NotificationsActiveIcon from '@material-ui/icons/NotificationsActive';
import FormatListBulletedIcon from '@material-ui/icons/FormatListBulleted';
import TrendingUpIcon from '@material-ui/icons/TrendingUp';
+import FolderIcon from '@material-ui/icons/Folder';
import t from './common/localization';
const useStyles = makeStyles(theme => ({
@@ -159,6 +160,12 @@ const MainToolbar = () => {
</ListItemIcon>
<ListItemText primary={t('sharedNotifications')} />
</ListItem>
+ <ListItem button onClick={() => history.push('/settings/groups')}>
+ <ListItemIcon>
+ <FolderIcon />
+ </ListItemIcon>
+ <ListItemText primary={t('settingsGroups')} />
+ </ListItem>
</List>
{adminEnabled && (
<>