From 8311a05c9c6736aec7eaf109516a8c8179a5b550 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Thu, 9 Feb 2023 16:29:53 +0100
Subject: [PATCH] fix: error message in browser console about pressure loss law
 config file

refs #596
---
 src/app/services/internationalisation.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/services/internationalisation.service.ts b/src/app/services/internationalisation.service.ts
index ba7e4cf84..ea1bec8c3 100644
--- a/src/app/services/internationalisation.service.ts
+++ b/src/app/services/internationalisation.service.ts
@@ -63,7 +63,7 @@ export class I18nService extends Observable implements Observer {
         /** excluded calculators */
         const childCalculatorType: CalculatorType[] = [
             CalculatorType.Section, CalculatorType.Structure, CalculatorType.CloisonAval, CalculatorType.YAXN,
-            CalculatorType.LechaptCalmon
+            CalculatorType.LechaptCalmon, CalculatorType.PressureLossLaw
         ];
 
         // ensure 2-letter language code
-- 
GitLab