Commit 3e4191ea authored by Mathias Chouet's avatar Mathias Chouet 🍝
Browse files

Update findFixedParams()

parent f0dcb283
......@@ -470,11 +470,14 @@ export abstract class Nub extends ComputeNode implements IObservable {
const fixed: ParamDefinition[] = [];
for (const p of this.parameterIterator) {
if (
p.valueMode === ParamValueMode.SINGLE
|| (
p.valueMode === ParamValueMode.LINK
&& p.isReferenceDefined()
&& ! p.referencedValue.hasMultipleValues()
p.visible
&& (
p.valueMode === ParamValueMode.SINGLE
|| (
p.valueMode === ParamValueMode.LINK
&& p.isReferenceDefined()
&& ! p.referencedValue.hasMultipleValues()
)
)
) {
fixed.push(p);
......
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