From acaed37f3bef11fd09f0f225c774c27abc9798e7 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Mon, 20 Aug 2018 13:57:14 +0200 Subject: [PATCH] Fix a bug with GPX export --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 946c647..51b923d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -110,7 +110,7 @@ export default { const waypoint = Object.assign({}, item, { timestamp: new Date(item.timestamp) }); [courseKey, eleKey, hdopKey, speedKey, vdopKey].forEach((key) => { if (waypoint[key] === null || waypoint[key] === undefined) { - delete waypoint.elevation; + delete waypoint[key]; } }); waypoints.push(waypoint);