diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx index c3b82ccddd8c..3e6b3213614e 100644 --- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx +++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx @@ -58,7 +58,7 @@ export const SettingsDataModelFieldIconLabelForm = ({ const [iconEditedManually, setIconEditedManually] = useState(false); useEffect(() => { - if (labelEditedManually) return; + if (labelEditedManually || !relationType) return; const label = [ RelationDefinitionType.ManyToOne, RelationDefinitionType.ManyToMany,