aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-08 16:32:31 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-08 16:32:31 -0700
commit57243b3243b18858d20441b955eacbfad0a8f1a7 (patch)
tree1485e66c58e7563d33efc11e6d64b12bafdf6fbb /modern/src/main
parent11d19f1fb7335f37ac39c91b6e2b5c9a8df8f96e (diff)
downloadtrackermap-web-57243b3243b18858d20441b955eacbfad0a8f1a7.tar.gz
trackermap-web-57243b3243b18858d20441b955eacbfad0a8f1a7.tar.bz2
trackermap-web-57243b3243b18858d20441b955eacbfad0a8f1a7.zip
Change events clear button
Diffstat (limited to 'modern/src/main')
-rw-r--r--modern/src/main/EventsDrawer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/main/EventsDrawer.js b/modern/src/main/EventsDrawer.js
index 91d6e3db..1843b46f 100644
--- a/modern/src/main/EventsDrawer.js
+++ b/modern/src/main/EventsDrawer.js
@@ -1,7 +1,7 @@
import React from 'react';
import { useDispatch, useSelector } from 'react-redux';
import {
- Drawer, IconButton, List, ListItem, ListItemText, Toolbar, Typography,
+ Button, Drawer, IconButton, List, ListItem, ListItemText, Toolbar, Typography,
} from '@mui/material';
import { makeStyles } from '@mui/styles';
import DeleteIcon from '@mui/icons-material/Delete';
@@ -34,9 +34,9 @@ const EventsDrawer = ({ open, onClose }) => {
<Typography variant="h6" className={classes.header}>
{t('reportEvents')}
</Typography>
- <IconButton color="inherit" edge="end" onClick={() => dispatch(eventsActions.deleteAll())}>
- <DeleteIcon />
- </IconButton>
+ <Button color="inherit" onClick={() => dispatch(eventsActions.deleteAll())}>
+ {t('reportClear')}
+ </Button>
</Toolbar>
<List className={classes.drawer} dense>
{events.map((event) => (