diff --git a/src/static/app/src/components/map/map.vue b/src/static/app/src/components/map/map.vue index de5bc57..025d325 100644 --- a/src/static/app/src/components/map/map.vue +++ b/src/static/app/src/components/map/map.vue @@ -68,7 +68,6 @@ export default { const marker = new Feature({ geometry: new Point(coordinate) }); - // Add marker to the vector source vectorSource.addFeature(marker); } const lineString = new LineString(coordinates); @@ -90,8 +89,8 @@ export default { } else if (feature.getGeometry().getType() === 'LineString') { return new Style({ stroke: new Stroke({ - color: '#0d6efd', // Line color - width: 2 // Line width + color: '#0d6efd', + width: 2 }) }); } @@ -103,11 +102,15 @@ export default { \ No newline at end of file diff --git a/src/static/app/src/views/ping.vue b/src/static/app/src/views/ping.vue index 8511ca6..1c48a7b 100644 --- a/src/static/app/src/views/ping.vue +++ b/src/static/app/src/views/ping.vue @@ -46,7 +46,9 @@ export default { }else{ this.store.newMessage("Server", res.message, "danger") } + this.pinging = false }) + } {} } }, @@ -73,7 +75,7 @@ export default { -