Skip to content

Commit

Permalink
Fix assignee not displayed on tasks (twentyhq#8280)
Browse files Browse the repository at this point in the history
Fix an issue where the assignee of a task wasn't displayed on the task
record's show page
  • Loading branch information
FelixMalfait authored Nov 1, 2024
1 parent 6630fc4 commit 558cc68
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ export const FieldsCard = ({

const boxedRelationFieldMetadataItems = relationFieldMetadataItems?.filter(
(fieldMetadataItem) =>
objectNameSingular !== CoreObjectNameSingular.Note &&
fieldMetadataItem.name !== 'noteTargets' &&
objectNameSingular !== CoreObjectNameSingular.Task &&
fieldMetadataItem.name !== 'taskTargets',
!((objectNameSingular === CoreObjectNameSingular.Note &&
fieldMetadataItem.name === 'noteTargets') ||
(objectNameSingular === CoreObjectNameSingular.Task &&
fieldMetadataItem.name === 'taskTargets')),
);
const isReadOnly = objectMetadataItem.isRemote;

Expand Down

0 comments on commit 558cc68

Please sign in to comment.