diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-02-15 22:10:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 22:10:52 -0800 |
commit | 8560d1f0f4f6709cc964762dbe5d65f63d40190e (patch) | |
tree | bd812414d948efb3ba38c9065facd1cc131449cc /modern/src/MainToolbar.js | |
parent | 65af8bad51851ff7f15319d5ce14ff24697aaded (diff) | |
parent | 9d3bea9f3ecb2da4563a8cf7f444f478f88e9c38 (diff) | |
download | trackermap-web-8560d1f0f4f6709cc964762dbe5d65f63d40190e.tar.gz trackermap-web-8560d1f0f4f6709cc964762dbe5d65f63d40190e.tar.bz2 trackermap-web-8560d1f0f4f6709cc964762dbe5d65f63d40190e.zip |
Merge pull request #815 from mail2bishnoi/maintenance
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..ebe2efd5 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 BuildIcon from '@material-ui/icons/Build'; 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> + <BuildIcon /> + </ListItemIcon> + <ListItemText primary={t('sharedMaintenance')} /> + </ListItem> </List> {adminEnabled && ( <> |