Skip to content

Commit

Permalink
Merge pull request Expensify#47853 from dominictb/fix/47686-make-admin
Browse files Browse the repository at this point in the history
fix: disable optimistic report participant
  • Loading branch information
puneetlath authored Aug 26, 2024
2 parents a048f92 + 943ceef commit 61aa0af
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 @@ -82,7 +82,7 @@ function ReportParticipantsPage({report}: WithReportOrNotFoundProps) {
accountID,
isSelected,
isDisabledCheckbox: accountID === currentUserAccountID,
isDisabled: pendingChatMember?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,
isDisabled: pendingChatMember?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE || details?.isOptimisticPersonalDetail,
text: formatPhoneNumber(PersonalDetailsUtils.getDisplayNameOrDefault(details)),
alternateText: formatPhoneNumber(details?.login ?? ''),
rightElement: roleBadge,
Expand Down

0 comments on commit 61aa0af

Please sign in to comment.