chore: update codegen config for enum naming convention (#9751)
Co-authored-by: etiennejouan <jouan.etienne@gmail.com>
This commit is contained in:
@ -107,7 +107,7 @@ export const SettingsObjectFieldEdit = () => {
|
||||
|
||||
try {
|
||||
if (
|
||||
formValues.type === FieldMetadataType.Relation &&
|
||||
formValues.type === FieldMetadataType.RELATION &&
|
||||
'relation' in formValues &&
|
||||
'relation' in dirtyFields
|
||||
) {
|
||||
@ -213,7 +213,7 @@ export const SettingsObjectFieldEdit = () => {
|
||||
fieldMetadataItem={fieldMetadataItem}
|
||||
maxLength={FIELD_NAME_MAXIMUM_LENGTH}
|
||||
canToggleSyncLabelWithName={
|
||||
fieldMetadataItem.type !== FieldMetadataType.Relation
|
||||
fieldMetadataItem.type !== FieldMetadataType.RELATION
|
||||
}
|
||||
/>
|
||||
</Section>
|
||||
|
||||
Reference in New Issue
Block a user