Refactor read only object and fields (#13936)
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
+4
@@ -25,6 +25,7 @@ const fields = [
|
||||
isCustom: false,
|
||||
isActive: true,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isNullable: false,
|
||||
createdAt: '',
|
||||
updatedAt: '',
|
||||
@@ -38,6 +39,7 @@ const fields = [
|
||||
isCustom: false,
|
||||
isActive: true,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isNullable: true,
|
||||
createdAt: '',
|
||||
updatedAt: '',
|
||||
@@ -51,6 +53,7 @@ const fields = [
|
||||
isCustom: false,
|
||||
isActive: true,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isNullable: true,
|
||||
createdAt: '',
|
||||
updatedAt: '',
|
||||
@@ -66,6 +69,7 @@ const mockObjectMetadataItem: ObjectMetadataItem = {
|
||||
description: 'A company',
|
||||
icon: 'IconBuilding',
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isCustom: false,
|
||||
isActive: true,
|
||||
createdAt: '',
|
||||
|
||||
Reference in New Issue
Block a user