Skip to content

Commit

Permalink
Fix selecting condition on small screens ReportParticipantsPage
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-solecki committed Aug 2, 2024
1 parent 5005f59 commit 3e45b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReportParticipantsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function ReportParticipantsPage({report}: WithReportOrNotFoundProps) {
<SelectionListWithModal
ref={selectionListRef}
canSelectMultiple={canSelectMultiple}
turnOnSelectionModeOnLongPress={isCurrentUserAdmin}
turnOnSelectionModeOnLongPress={isCurrentUserAdmin && isGroupChat}
onTurnOnSelectionMode={(item) => item && toggleUser(item)}
sections={[{data: participants}]}
ListItem={TableListItem}
Expand Down

0 comments on commit 3e45b13

Please sign in to comment.