Fix optimistic rendering (#2882)
* Release 0.2.1 * Optimistic rendering fixes * Fix optimistic rendering * Fix issues on Tasks * Fix Opportunity picker and relation picker
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
@ -148,4 +148,4 @@
|
||||
"resolutions": {
|
||||
"graphql": "16.8.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -131,6 +131,7 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadataEnt
|
||||
isNullable: true,
|
||||
isActive: true,
|
||||
isCustom: false,
|
||||
isSystem: true,
|
||||
workspaceId: record.workspaceId,
|
||||
defaultValue: { type: 'now' },
|
||||
},
|
||||
@ -168,7 +169,9 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadataEnt
|
||||
type: FieldMetadataType.RELATION,
|
||||
name: record.nameSingular,
|
||||
label: record.labelSingular,
|
||||
targetColumnMap: {},
|
||||
targetColumnMap: {
|
||||
value: `${createdObjectMetadata.targetTableName}Id`,
|
||||
},
|
||||
description: `ActivityTarget ${record.labelSingular}`,
|
||||
icon: 'IconBuildingSkyscraper',
|
||||
isNullable: true,
|
||||
|
||||
Reference in New Issue
Block a user