diff --git a/src/Squidex/app/shared/state/query.ts b/src/Squidex/app/shared/state/query.ts index 7bd2f346a..b5dac033b 100644 --- a/src/Squidex/app/shared/state/query.ts +++ b/src/Squidex/app/shared/state/query.ts @@ -200,7 +200,7 @@ export function queryModelFromSchema(schema: SchemaDetailsDto, languages: Langua } else if (field.properties.fieldType === 'DateTime') { type = TypeDateTime; } else if (field.properties.fieldType === 'References') { - const extra = { schemaId: field.properties['schemaId'] }; + const extra = field.properties['schemaId']; type = { ...TypeReference, extra }; }