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 8c1f26d commit 9f316f2Copy full SHA for 9f316f2
src/blocks/mrc_mechanism.ts
@@ -205,8 +205,9 @@ const MECHANISM = {
205
}
206
207
if (foundMechanism) {
208
- const components: storageModuleContent.Component[] = [];
209
- components.push(...editor.getAllComponentsFromMechanism(foundMechanism));
+ // Here we need all the components (regular and private) from the mechanism because we need
+ // to create port parameters for all the components.
210
+ const components = editor.getAllComponentsFromMechanism(foundMechanism);
211
212
// If the mechanism class name has changed, update this blcok.
213
if (this.getFieldValue(FIELD_TYPE) !== foundMechanism.className) {
0 commit comments