diff options
author | Anton Tananaev <anton@traccar.org> | 2022-11-01 09:17:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-11-01 09:17:16 -0700 |
commit | f99734fafca208af8fd18f7664c68d81a8adcc72 (patch) | |
tree | 5f3172c2d6afdf8b805ecd435e7ffa07e09b2ded | |
parent | 0d4fc56fa3f44e71dfc8affe889c3a6cfab04652 (diff) | |
download | trackermap-web-f99734fafca208af8fd18f7664c68d81a8adcc72.tar.gz trackermap-web-f99734fafca208af8fd18f7664c68d81a8adcc72.tar.bz2 trackermap-web-f99734fafca208af8fd18f7664c68d81a8adcc72.zip |
Fix event page (fix #1044)
-rw-r--r-- | modern/src/other/EventPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js index 8adc142c..c8d84d5e 100644 --- a/modern/src/other/EventPage.js +++ b/modern/src/other/EventPage.js @@ -83,7 +83,7 @@ const EventPage = () => { <IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}> <ArrowBackIcon /> </IconButton> - <Typography variant="h6">{formatType(event)}</Typography> + <Typography variant="h6">{event && formatType(event)}</Typography> </Toolbar> </AppBar> <div className={classes.mapContainer}> |