diff options
author | Anton Tananaev <anton@traccar.org> | 2023-01-27 13:57:01 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-01-27 13:57:01 -0800 |
commit | c2f20eb92f9d916df576d6fecc4063c41a089b0e (patch) | |
tree | 1e2fb518f89bf967e7de1b2f6777f4519fdba54c /modern/src/reports | |
parent | ed01ae96f146c3c02fbfa13be7106519609f4d1a (diff) | |
download | trackermap-web-c2f20eb92f9d916df576d6fecc4063c41a089b0e.tar.gz trackermap-web-c2f20eb92f9d916df576d6fecc4063c41a089b0e.tar.bz2 trackermap-web-c2f20eb92f9d916df576d6fecc4063c41a089b0e.zip |
Fix route custom attributes
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/RouteReportPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index 011216fd..64bf0a59 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -103,7 +103,7 @@ const RouteReportPage = () => { <TableRow> <TableCell className={classes.columnAction} /> <TableCell>{t('sharedDevice')}</TableCell> - {columns.map((key) => (<TableCell key={key}>{positionAttributes[key].name}</TableCell>))} + {columns.map((key) => (<TableCell key={key}>{positionAttributes[key]?.name || key}</TableCell>))} </TableRow> </TableHead> <TableBody> |