Commit 9966e0fc authored by Mathias Chouet's avatar Mathias Chouet :spaghetti:
Browse files

Removed debug messages

Showing with 3 additions and 6 deletions
+3 -6
......@@ -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
}
}
}
......
......@@ -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");
}
} */
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment