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

Fix bug in Nub.resetDefaultcalculatedParam()

Showing with 1 addition and 6 deletions
+1 -6
......@@ -251,12 +251,7 @@ export abstract class Nub extends ComputeNode implements IObservable {
// if default calculated param is not eligible to CALC mode
if (
requirer === this._defaultCalculatedParam
|| ! [
ParamValueMode.SINGLE,
ParamValueMode.MINMAX,
ParamValueMode.LISTE
].includes(this._defaultCalculatedParam.valueMode
)
|| this._defaultCalculatedParam.valueMode === ParamValueMode.LINK
) {
// first SINGLE calculable parameter if any
const newCalculatedParam = this.findFirstCalculableParameter(requirer);
......
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