From 47cf9402edcae5b380cad3c93a04ec2630ef0d2e Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Sun, 21 Apr 2024 02:22:04 +0530 Subject: [PATCH 1/7] fixes 40549 --- .../MoneyTemporaryForRefactorRequestParticipantsSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js index 72afb2326b74..f44f6ea678e2 100644 --- a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js +++ b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js @@ -118,7 +118,7 @@ function MoneyTemporaryForRefactorRequestParticipantsSelector({participants, onF false, {}, [], - canUseP2PDistanceRequests || iouRequestType !== CONST.IOU.REQUEST_TYPE.DISTANCE, + (canUseP2PDistanceRequests || iouRequestType !== CONST.IOU.REQUEST_TYPE.DISTANCE) && ![CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].includes(action), false, ); From 1fc7b2b6989af2b7cb23dd45a26ddb31274ef8ab Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Sun, 21 Apr 2024 02:42:23 +0530 Subject: [PATCH 2/7] fixes not found screen breify showing --- .../MoneyTemporaryForRefactorRequestParticipantsSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js index f44f6ea678e2..28c189224402 100644 --- a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js +++ b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js @@ -344,7 +344,7 @@ function MoneyTemporaryForRefactorRequestParticipantsSelector({participants, onF ); const isAllSectionsEmpty = _.every(sections, (section) => section.data.length === 0); - if ([CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].includes(action) && isAllSectionsEmpty && didScreenTransitionEnd && searchTerm.trim() === '') { + if ([CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].includes(action) && isAllSectionsEmpty && didScreenTransitionEnd && debouncedSearchTerm.trim() === '') { return renderEmptyWorkspaceView(); } From 12bc04c47dd003961f7370485978c4ea9efa7815 Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Sun, 21 Apr 2024 02:46:47 +0530 Subject: [PATCH 3/7] remove subtitle from no workspace found --- .../MoneyTemporaryForRefactorRequestParticipantsSelector.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js index 28c189224402..93f1f31c6a83 100644 --- a/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js +++ b/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js @@ -329,7 +329,6 @@ function MoneyTemporaryForRefactorRequestParticipantsSelector({participants, onF iconWidth={variables.emptyWorkspaceIconWidth} iconHeight={variables.emptyWorkspaceIconHeight} title={translate('workspace.emptyWorkspace.notFound')} - subtitle={translate('workspace.emptyWorkspace.description')} shouldShowLink={false} />