Skip to content

Commit

Permalink
fix: Not so fast modal disappear quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
daledah committed Jan 31, 2025
1 parent 49128c8 commit efaa20c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ function AttachmentPickerWithMenuItems({
text: translate('iou.paySomeone', {name: getPayeeName(report)}),
onSelected: () => {
if (isDelegateAccessRestricted) {
setIsNoDelegateAccessMenuVisible(true);
close(() => {
setIsNoDelegateAccessMenuVisible(true);
});
return;
}
selectOption(() => startMoneyRequest(CONST.IOU.TYPE.PAY, report?.reportID ?? String(CONST.DEFAULT_NUMBER_ID)), false);
Expand Down

0 comments on commit efaa20c

Please sign in to comment.