From c2f20eb92f9d916df576d6fecc4063c41a089b0e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 27 Jan 2023 13:57:01 -0800 Subject: Fix route custom attributes --- modern/src/reports/RouteReportPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src') 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 = () => { {t('sharedDevice')} - {columns.map((key) => ({positionAttributes[key].name}))} + {columns.map((key) => ({positionAttributes[key]?.name || key}))} -- cgit v1.2.3