From 638f3b6a03aac270b408fcfcd9cc252a23fc9c87 Mon Sep 17 00:00:00 2001 From: amandine-sahl Date: Tue, 2 Jul 2024 15:10:37 +0200 Subject: [PATCH] Prettier --- .../app/components/monitoring-map/monitoring-map.component.ts | 2 +- .../monitoring-sites-detail.component.ts | 2 +- frontend/app/services/monitoring-object.service.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/app/components/monitoring-map/monitoring-map.component.ts b/frontend/app/components/monitoring-map/monitoring-map.component.ts index a2b0b95cf..3a082559f 100644 --- a/frontend/app/components/monitoring-map/monitoring-map.component.ts +++ b/frontend/app/components/monitoring-map/monitoring-map.component.ts @@ -132,7 +132,7 @@ export class MonitoringMapComponent implements OnInit { onEachFeatureGroupSite() { return (feature, layer) => { const popup = this._popup.setSiteGroupPopup(this.obj.moduleCode, feature, {}); - + layer.bindPopup(popup); }; } diff --git a/frontend/app/components/monitoring-sites-detail/monitoring-sites-detail.component.ts b/frontend/app/components/monitoring-sites-detail/monitoring-sites-detail.component.ts index 48d7a7b5c..7708b62f0 100644 --- a/frontend/app/components/monitoring-sites-detail/monitoring-sites-detail.component.ts +++ b/frontend/app/components/monitoring-sites-detail/monitoring-sites-detail.component.ts @@ -132,7 +132,7 @@ export class MonitoringSitesDetailComponent extends MonitoringGeomComponent impl map((params) => { this.checkEditParam = params['edit']; this.parentsPath = - this._Activatedroute.snapshot.queryParamMap.getAll('parents_path') || []; + this._Activatedroute.snapshot.queryParamMap.getAll('parents_path') || []; this.obj = new MonitoringObject( 'generic', 'site', diff --git a/frontend/app/services/monitoring-object.service.ts b/frontend/app/services/monitoring-object.service.ts index 980ff4e30..e21d66cac 100644 --- a/frontend/app/services/monitoring-object.service.ts +++ b/frontend/app/services/monitoring-object.service.ts @@ -305,7 +305,7 @@ export class MonitoringObjectService { } ); } - + navigateGeneric(routeType, moduleCode, objectType, id, action, queryParams = {}) { let editParams = ''; if ('edit' in queryParams && queryParams.edit == true) {