Skip to content

Commit

Permalink
Added Condition to check drag & drop works only on scan page
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyasenjaliya committed Aug 23, 2023
1 parent 4f412db commit b8a8c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/MoneyRequestSelectorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function MoneyRequestSelectorPage(props) {
>
{({safeAreaPaddingBottomStyle}) => (
<FullPageNotFoundView shouldShow={!IOUUtils.isValidMoneyRequestType(iouType)}>
<DragAndDropProvider isDisabled={props.selectedTab === CONST.TAB.MANUAL}>
<DragAndDropProvider isDisabled={props.selectedTab !== CONST.TAB.SCAN}>
<View style={[styles.flex1, safeAreaPaddingBottomStyle]}>
<HeaderWithBackButton
title={title[iouType]}
Expand Down

0 comments on commit b8a8c42

Please sign in to comment.