Skip to content

Commit 6182e3a

Browse files
authored
(fix) Update start date field on cohort update
Update start date field on cohort update
1 parent 6646f09 commit 6182e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/add-group-modal/AddGroupModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const AddGroupModal = ({
175175
uuid: cohortUuid,
176176
name: name,
177177
cohortType: config?.groupSessionConcepts?.cohortTypeId,
178-
cohortMembers: patientList.map((p) => ({ patient: p.uuid })),
178+
cohortMembers: patientList.map((p) => ({ patient: p.uuid, startDate: new Date().toISOString() })),
179179
});
180180
if (onPostSubmit) {
181181
onPostSubmit();

0 commit comments

Comments
 (0)