mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-26 04:17:15 +03:00
Resolved Typescript console errors (#7408)
## 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 <felix@twenty.com>
This commit is contained in:
parent
da69317837
commit
3cd24d542b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user