From bf645fbba11d1430d739efbdd5d7648a5c6fd915 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Thu, 9 May 2019 15:52:48 +0200 Subject: [PATCH] Removed debug messages --- src/pab/pab.ts | 5 +---- src/pab/pab_cloisons.ts | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pab/pab.ts b/src/pab/pab.ts index 166daefe..4833c18e 100644 --- a/src/pab/pab.ts +++ b/src/pab/pab.ts @@ -95,14 +95,11 @@ export class Pab extends Nub { if (c.props.calcType === CalculatorType.PabCloisons) { // who knows ? const childUid = c.uid; const targetCloisonsUid = c.props.modeleCloisons; - console.log(`==> relinking ${childUid} to ${targetCloisonsUid}`); // find child PabCloisons to relink const pabCloisons = (this.getChild(childUid) as PabCloisons); if (pabCloisons) { pabCloisons.setModel(targetCloisonsUid); - } else { - console.error("fixPAB : cannot find child PabCloisons"); - } + } // else cannot find target } } } diff --git a/src/pab/pab_cloisons.ts b/src/pab/pab_cloisons.ts index 4328f930..c5758365 100644 --- a/src/pab/pab_cloisons.ts +++ b/src/pab/pab_cloisons.ts @@ -104,9 +104,9 @@ export class PabCloisons extends Cloisons { const cloisons = (Session.getInstance().findNubByUid(modelUid) as Cloisons); if (cloisons) { this.initModelCloisons(cloisons); - } else { + } /* else { console.error("PabCloisons.setModel : cannot find target Cloisons"); - } + } */ } /** -- GitLab