Skip to content

Commit d82a28e

Browse files
committed
Changes made to pass the should-generate-JSON-schema-for-a-subdocument-property test again
1 parent 8d1598f commit d82a28e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pods/toolbar/components/export-button/export-button.business.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const getPropertyJsonSchema = (field: FieldVm): string => {
153153

154154
export const getItemType = (field: FieldVm): string => {
155155
if (field.children && field.children.length > 0) {
156-
const properties = getPropertiesJsonSchema(field.children);
156+
const properties = getPropertiesJsonSchema(field.children, false);
157157

158158
return `{ bsonType: "object", title: "${field.name}", properties: {${properties}} } `;
159159

0 commit comments

Comments
 (0)