From 3cd24d542b6b83b76fbc206032ee130769faf917 Mon Sep 17 00:00:00 2001 From: Harshit Singh <73997189+harshit078@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:32:51 +0530 Subject: [PATCH] Resolved Typescript console errors (#7408) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description - This PR addresses the issues- - #7404 - #7359 - and builds on the existing logic from PR #7360 - Handled the 4 Ts console errors --------- Co-authored-by: FĂ©lix Malfait --- .../relation/components/SettingsDataModelFieldRelationForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/relation/components/SettingsDataModelFieldRelationForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/relation/components/SettingsDataModelFieldRelationForm.tsx index d30e05193f4b..63305b53d04d 100644 --- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/relation/components/SettingsDataModelFieldRelationForm.tsx +++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/relation/components/SettingsDataModelFieldRelationForm.tsx @@ -66,7 +66,7 @@ const StyledInputsContainer = styled.div` `; const RELATION_TYPE_OPTIONS = Object.entries(RELATION_TYPES) - .filter(([value]) => 'ONE_TO_ONE' !== value) + .filter(([value]) => 'ONE_TO_ONE' !== value && 'MANY_TO_MANY' !== value) .map(([value, { label, Icon }]) => ({ label, value: value as RelationType,