aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/EventReportPage.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-19 13:12:57 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-19 13:12:57 +0530
commit2691e78cd4d5486581656a490b9fb5386e68a5d9 (patch)
tree422e38c7932f25c20a828619dd694b14f08cc2c6 /modern/src/reports/EventReportPage.js
parent006ee184700c3fb04267950e52a39c697500e66c (diff)
downloadtrackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.tar.gz
trackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.tar.bz2
trackermap-web-2691e78cd4d5486581656a490b9fb5386e68a5d9.zip
More code formatting
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r--modern/src/reports/EventReportPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js
index 2478cad0..a14fc930 100644
--- a/modern/src/reports/EventReportPage.js
+++ b/modern/src/reports/EventReportPage.js
@@ -63,7 +63,7 @@ const EventReportPage = () => {
const [items, setItems] = useState([]);
const formatGeofence = value => {
- if (value !== 0) {
+ if (value > 0) {
const geofence = geofences[value];
return geofence ? geofence.name : '';
}