aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r--web/app/view/ReportController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 2ffca966..2f10cde1 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -247,7 +247,7 @@ Ext.define('Traccar.view.ReportController', {
},
deselectReport: function (object) {
- if (object !== undefined) {
+ if (object) {
this.deselectFeature();
}
},