Commit dc57fb89 authored by Yannick Lehnhausen's avatar Yannick Lehnhausen

fix linter and test error

parent a484a0b3
Pipeline #29951 passed with stage
in 7 minutes and 46 seconds
......@@ -51,7 +51,6 @@ export class MapRendererService {
private map: L.Map;
private poiMarkers: Array<[L.Marker, PoiModel]> = [];
private poiMarkersPositions: Array<[L.Marker, PoiModel]> = [];
private tagMarkers: Array<[L.Marker, TagModel]> = [];
private menuPosition: L.LatLng;
public buildingEnteredOrLeft = new EventEmitter<void>();
......@@ -276,10 +275,10 @@ export class MapRendererService {
}
private editPoi(id: string) {
const modalRef = this.modalService.open(AddEditPoiComponent, {size: 'lg'});
modalRef.componentInstance.id = id;
modalRef.result.then(() => {
this.resetCutEvents();
const modalRef = this.modalService.open(AddEditPoiComponent, {size: 'lg'});
modalRef.componentInstance.id = id;
modalRef.result.then(() => {
this.resetCutEvents();
this.drawPois();
}).catch( (error) => error);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment