aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/map/MapController.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js
index 7d1d2c186..cad8f502a 100644
--- a/web/app/view/map/MapController.js
+++ b/web/app/view/map/MapController.js
@@ -129,6 +129,8 @@ Ext.define('Traccar.view.map.MapController', {
},
reportShow: function() {
+ this.reportClear();
+
var vectorSource = this.getView().vectorSource;
var data = Ext.getStore('Positions').getData().clone();