Skip to content
Snippets Groups Projects
Commit 98e98687 authored by mathias.chouet's avatar mathias.chouet
Browse files

Fix #251

parent 0632bed3
No related branches found
No related tags found
1 merge request!51Update to Angular 8
......@@ -136,7 +136,9 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs
protected parseOptions(json: {}) {
const dnt = json["defaultNodeType"];
this._props["nodeType"] = dnt === undefined ? ComputeNodeType.None : ComputeNodeType[dnt];
if (dnt !== undefined) {
this._props["nodeType"] = ComputeNodeType[dnt];
}
this.helpLink = json["help"];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment