We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb3a0b commit cb40da6Copy full SHA for cb40da6
src/core/graph/subgraph/proxyWidget.ts
@@ -115,11 +115,14 @@ const onConfigure = function (
115
this.arrange()
116
}
117
})
118
- if (serialisedNode.properties?.proxyWidgets)
+ if (serialisedNode.properties?.proxyWidgets) {
119
this.properties.proxyWidgets = serialisedNode.properties.proxyWidgets
120
- serialisedNode.widgets_values?.forEach((v, index) => {
121
- if (v !== null) this.widgets[index].value = v
122
- })
+ const parsed = parseProxyWidgets(serialisedNode.properties.proxyWidgets)
+ serialisedNode.widgets_values?.forEach((v, index) => {
+ const widget = this.widgets.find((w) => w.name == parsed[index][1])
123
+ if (v !== null && widget) widget.value = v
124
+ })
125
+ }
126
127
128
function newProxyWidget(
0 commit comments