Remove objectMetadata isSoftDeletable
This commit is contained in:
@ -150,14 +150,6 @@ export class StandardFieldFactory {
|
||||
return [];
|
||||
}
|
||||
|
||||
if (
|
||||
workspaceFieldMetadataArgs.name === 'deletedAt' &&
|
||||
workspaceEntityMetadataArgs &&
|
||||
!workspaceEntityMetadataArgs.softDelete
|
||||
) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return [
|
||||
{
|
||||
type: workspaceFieldMetadataArgs.type,
|
||||
|
||||
@ -54,7 +54,6 @@ export class StandardObjectFactory {
|
||||
isCustom: false,
|
||||
isRemote: false,
|
||||
isSystem: workspaceEntityMetadataArgs.isSystem ?? false,
|
||||
isSoftDeletable: workspaceEntityMetadataArgs.softDelete,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user