diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-02-04 16:33:02 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-02-04 16:33:02 +0530 |
commit | 4dbe654290c3d1f6051ea9650549f7c254d321b4 (patch) | |
tree | c56014540733b9ee9f1f2400f48dc80834ab9f4a /modern/src/MainToolbar.js | |
parent | 65af8bad51851ff7f15319d5ce14ff24697aaded (diff) | |
download | trackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.tar.gz trackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.tar.bz2 trackermap-web-4dbe654290c3d1f6051ea9650549f7c254d321b4.zip |
Initial Maintenance Screen
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r-- | modern/src/MainToolbar.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index 91b3d696..8f420e1c 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -30,6 +30,7 @@ import FormatListBulletedIcon from '@material-ui/icons/FormatListBulleted'; import TrendingUpIcon from '@material-ui/icons/TrendingUp'; import FolderIcon from '@material-ui/icons/Folder'; import ReplayIcon from '@material-ui/icons/Replay'; +import PublishIcon from '@material-ui/icons/Publish'; import t from './common/localization'; const useStyles = makeStyles(theme => ({ @@ -185,6 +186,12 @@ const MainToolbar = () => { </ListItemIcon> <ListItemText primary={t('sharedComputedAttributes')} /> </ListItem> + <ListItem button onClick={() => history.push('/settings/maintenances')}> + <ListItemIcon> + <PublishIcon /> + </ListItemIcon> + <ListItemText primary={t('sharedMaintenance')} /> + </ListItem> </List> {adminEnabled && ( <> |