Skip to content

Commit f233b67

Browse files
committed
fix(participation): add bacl edit modal to remote participations table
1 parent 6adde74 commit f233b67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lab/assets/js/participation/components/ProjectParticipationsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ export default function ProjectParticipationsForm({
242242
<ParticipationTable
243243
participations={remoteParticipations}
244244
tableCaption={t.remoteParticipationsTable}
245+
editModalId={remoteModalId}
245246
onDeleteClick={onDeleteClick}
246247
canDelete={isLabAdminOrProjectLeader(userData, leaderParticipation)}
247248
canEdit={isLabAdminOrProjectLeader(userData, leaderParticipation)}
248249
onEditClick={(participation) => {
249250
setRemoteParticipationToEdit(participation);
250-
remoteModalButton.current?.click();
251251
}}
252252
/>
253253
)}

0 commit comments

Comments
 (0)