diff --git a/src/app/views/map/map.component.ts b/src/app/views/map/map.component.ts index cec17cd..ff2ef30 100644 --- a/src/app/views/map/map.component.ts +++ b/src/app/views/map/map.component.ts @@ -226,7 +226,6 @@ export class MapComponent implements OnDestroy, OnInit { let lastPoint; this.sub = this.map.click.pipe(skip(1), finalize(() => this.map.delete(lastPoint))).subscribe(e => { if (lastPoint) { - menuItem.enabled = false; let measurement = {latlng: {lat: lastPoint.getLatLng().lat, lng: lastPoint.getLatLng().lng}, latlng2: e.latlng}; this.syncService.addMeasurement(measurement); this.map.delete(lastPoint);