mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 13:02:15 +03:00
Fix blocklist standard object being unhealthy (#4255)
Fix blocklist standard object unhealthy
This commit is contained in:
parent
5e261783da
commit
0c2c57ab9b
@ -1,8 +1,10 @@
|
||||
import { FullNameMetadata } from 'src/metadata/field-metadata/composite-types/full-name.composite-type';
|
||||
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
|
||||
import { RelationMetadataType, RelationOnDeleteAction } from 'src/metadata/relation-metadata/relation-metadata.entity';
|
||||
import {
|
||||
RelationMetadataType,
|
||||
RelationOnDeleteAction,
|
||||
} from 'src/metadata/relation-metadata/relation-metadata.entity';
|
||||
import { FieldMetadata } from 'src/workspace/workspace-sync-metadata/decorators/field-metadata.decorator';
|
||||
import { Gate } from 'src/workspace/workspace-sync-metadata/decorators/gate.decorator';
|
||||
import { IsNullable } from 'src/workspace/workspace-sync-metadata/decorators/is-nullable.decorator';
|
||||
import { IsSystem } from 'src/workspace/workspace-sync-metadata/decorators/is-system.decorator';
|
||||
import { ObjectMetadata } from 'src/workspace/workspace-sync-metadata/decorators/object-metadata.decorator';
|
||||
@ -200,9 +202,6 @@ export class WorkspaceMemberObjectMetadata extends BaseObjectMetadata {
|
||||
objectName: 'blocklist',
|
||||
inverseSideFieldName: 'workspaceMember',
|
||||
})
|
||||
@Gate({
|
||||
featureFlag: 'IS_BLOCKLIST_ENABLED',
|
||||
})
|
||||
@IsNullable()
|
||||
blocklist: BlocklistObjectMetadata[];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user