We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04ce8e commit ab3f885Copy full SHA for ab3f885
packages/base/links-to-many-component.gts
@@ -337,13 +337,13 @@ class LinksToManyCompactEditor extends GlimmerComponent<LinksToManyCompactEditor
337
function getEditorChildFormat(
338
format: Format | undefined,
339
defaultFormat: Format,
340
- arrayField: Box<FieldDef[]>,
+ model: Box<FieldDef[]>,
341
) {
342
- let model = arrayField.containingBox;
+ let containingBox = model.containingBox;
343
if (
344
(format ?? defaultFormat) === 'edit' &&
345
- 'isFieldDef' in model.value.constructor &&
346
- model.value.constructor.isFieldDef
+ 'isFieldDef' in containingBox.value.constructor &&
+ containingBox.value.constructor.isFieldDef
347
348
return 'atom';
349
}
0 commit comments