Commit f79f8069 authored by Mathias Chouet's avatar Mathias Chouet 🍝
Browse files

Fix bug in Nub.resetDefaultcalculatedParam()

parent d13b5b67
......@@ -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);
......
Markdown is supported
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