From bcef1fda0756f0ef1afbb53c26f6cbab4dcfeba8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 14 Nov 2020 15:53:21 -0800 Subject: Minor reports cleanup --- modern/src/reports/EventReportPage.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modern/src/reports/EventReportPage.js') diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js index e9bca4ef..3e12af98 100644 --- a/modern/src/reports/EventReportPage.js +++ b/modern/src/reports/EventReportPage.js @@ -21,11 +21,12 @@ const ReportFilterForm = ({ onResult }) => { onResult(await response.json()); } } + return ( {t('reportEventTypes')} - setEventType(e.target.value)} multiple> {t('eventAll')} {t('eventDeviceOnline')} {t('eventDeviceUnknown')} @@ -66,11 +67,9 @@ const EventReportPage = () => { - {items.map((item) => ( + {items.map(item => ( - - {formatPosition(item, 'serverTime')} - + {formatPosition(item, 'serverTime')} {item.type} {} {} -- cgit v1.2.3