diff --git a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetInlineCellEditMode.tsx b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetInlineCellEditMode.tsx index f85dc54adfc3..a7a8b486ce98 100644 --- a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetInlineCellEditMode.tsx +++ b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetInlineCellEditMode.tsx @@ -98,7 +98,7 @@ export const ActivityTargetInlineCellEditMode = ({ async () => { const activityTargetsAfterUpdate = activityTargetWithTargetRecords.filter((activityTarget) => { - const record = snapshot + const recordSelectedInMultiSelect = snapshot .getLoadable( objectRecordMultiSelectComponentFamilyState({ scopeId: recordPickerInstanceId, @@ -107,7 +107,9 @@ export const ActivityTargetInlineCellEditMode = ({ ) .getValue() as ObjectRecordAndSelected; - return record.selected; + return recordSelectedInMultiSelect + ? recordSelectedInMultiSelect.selected + : true; }); setActivityFromStore((currentActivity) => { if (isNull(currentActivity)) {