From 2f1ff653ac3c49c5772c9d4b5d92dc00f6a0e0f5 Mon Sep 17 00:00:00 2001 From: Jeremie BRISON <ext.sopra.jbrison@grandlyon.com> Date: Thu, 3 Dec 2020 12:14:18 +0100 Subject: [PATCH] fix(demarche) : fix other section --- .../components/structure-details/structure-details.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/structure-list/components/structure-details/structure-details.component.ts b/src/app/structure-list/components/structure-details/structure-details.component.ts index 7a9dd35df..e856e426a 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.ts +++ b/src/app/structure-list/components/structure-details/structure-details.component.ts @@ -48,7 +48,7 @@ export class StructureDetailsComponent implements OnInit { this.printService.onDataReady(); } }); - const index = this.structure.accompagnementDesDemarches.indexOf('Autres'); + const index = this.structure.accompagnementDesDemarches.indexOf('autres'); if (index > -1) { this.structure.accompagnementDesDemarches.splice(index, 1); this.isOtherSection = true; -- GitLab