From 8bd7cba6f5ce56bcccda1459cdd953b3add799d6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 24 Feb 2024 16:02:48 -0800 Subject: Fix lint and issues --- modern/src/reports/EventReportPage.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modern/src/reports/EventReportPage.jsx') diff --git a/modern/src/reports/EventReportPage.jsx b/modern/src/reports/EventReportPage.jsx index 10b539ab..5ffc8ac3 100644 --- a/modern/src/reports/EventReportPage.jsx +++ b/modern/src/reports/EventReportPage.jsx @@ -204,7 +204,7 @@ const EventReportPage = () => { {!loading ? items.map((item) => ( - {item.positionId ? selectedItem === item ? ( + {(item.positionId && (selectedItem === item ? ( setSelectedItem(null)}> @@ -212,7 +212,7 @@ const EventReportPage = () => { setSelectedItem(item)}> - ) : ''} + ))) || ''} {columns.map((key) => ( -- cgit v1.2.3