diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/ReportController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 4236aadcb..7ff994202 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -90,7 +90,9 @@ Ext.define('Traccar.view.ReportController', { }, selectReport: function (position, center) { - this.getView().getSelectionModel().select([position], false, true); + if (position instanceof Traccar.model.Position) { + this.getView().getSelectionModel().select([position], false, true); + } }, doDownloadCsv: function (requestUrl, requestParams) { |