Skip to content

Commit

Permalink
code commune avec arrondissement πŸ›
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaine committed Sep 25, 2024
1 parent 7cb1154 commit 3c0eac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zones/zones.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class ZonesService {
formatZones(zones: any[], profil?: string, zoneType?: string, commune?: string) {
let zonesToReturn = zones;
const communeArreteMunicipal = commune ?
this.communeArretesMunicipaux?.find(c => c.code === commune)?.arretesMunicipaux[0]
this.communeArretesMunicipaux?.find(c => c.code === this.communesService.normalizeCodeCommune(commune))?.arretesMunicipaux[0]
: null;

if (zoneType) {
Expand Down

0 comments on commit 3c0eac0

Please sign in to comment.