diff --git a/client/client.js b/client/client.js index 134fc14a..ea2baabf 100644 --- a/client/client.js +++ b/client/client.js @@ -160,6 +160,7 @@ class Socket { return this._emit("setRoute", data).then((route) => { if(route) { // If unset, a newer submitted route has returned in the meantime this.route = route; + this.route.elevation = data.elevation; // For reconnect this.route.trackPoints = this._mergeTrackPoints({}, route.trackPoints); }