From e3317d92fb485281679f938da0439201c8bef4c1 Mon Sep 17 00:00:00 2001 From: Marc Rutkowski Date: Mon, 30 Oct 2023 13:41:51 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9tabli=20l'affichage=20du=20bouton=20d'ex?= =?UTF-8?q?port=20d'un=20plan=20d'action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/collectivite/PlansActions/PlanAction/data/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/PlanAction/data/utils.ts b/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/PlanAction/data/utils.ts index 2dde705eff..be96fa0ce3 100644 --- a/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/PlanAction/data/utils.ts +++ b/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/PlanAction/data/utils.ts @@ -15,7 +15,7 @@ export const checkAxeHasFiche = (axe: PlanNode, axes: PlanNode[]): boolean => { } if (children) { for (let i = 0; i < children.length; i++) { - if (checkAxeHasFiche(children[i], children)) { + if (checkAxeHasFiche(children[i], axes)) { return true; } }