diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-25 12:36:19 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-25 12:36:19 -0700 |
commit | d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9 (patch) | |
tree | a8acdb87aea6c39ba1c0712186a2be1dadaff181 /modern/src/MainToolbar.js | |
parent | 94be29b98ef9ca509c38c2576dc56828a788937e (diff) | |
download | trackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.tar.gz trackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.tar.bz2 trackermap-web-d69bb2b2c3053c2c61e4e5d7029751debcfb0dd9.zip |
Implement simple route report
Diffstat (limited to 'modern/src/MainToolbar.js')
-rw-r--r-- | modern/src/MainToolbar.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index f77868df..5994a388 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -87,10 +87,13 @@ const MainToolbar = () => { </ListItem> </List> <Divider /> - <List subheader={<ListSubheader> - {t('reportTitle')} - </ListSubheader>}> - <ListItem button disabled onClick={() => { history.push('/reports/route') }}> + <List + subheader={ + <ListSubheader> + {t('reportTitle')} + </ListSubheader> + }> + <ListItem button onClick={() => { history.push('/reports/route') }}> <ListItemIcon> <BarChartIcon /> </ListItemIcon> |