@@ -74,8 +74,8 @@ type ParticipantSearchResultsProps = {
7474 /** Whether the platform is native (iOS/Android) */
7575 isNative : boolean ;
7676
77- /** Whether this is a corporate card transaction */
78- isCorporateCardTransaction : boolean ;
77+ /** Whether this is a transaction from a credit card import */
78+ isTransactionFromCreditCardImport : boolean ;
7979
8080 /** Forwarded ref for the SelectionList — used by the parent's useImperativeHandle */
8181 selectionListRef : Ref < SelectionListWithSectionsHandle | null > ;
@@ -110,7 +110,7 @@ function ParticipantSearchResults({
110110 isPerDiemRequest,
111111 isTimeRequest,
112112 isNative,
113- isCorporateCardTransaction ,
113+ isTransactionFromCreditCardImport ,
114114 selectionListRef,
115115 textInputAutoFocus,
116116 setTextInputAutoFocus,
@@ -165,7 +165,7 @@ function ParticipantSearchResults({
165165 excludeLogins : CONST . EXPENSIFY_EMAILS_OBJECT ,
166166 includeOwnedWorkspaceChats : iouType === CONST . IOU . TYPE . SUBMIT || iouType === CONST . IOU . TYPE . CREATE || iouType === CONST . IOU . TYPE . SPLIT || iouType === CONST . IOU . TYPE . TRACK ,
167167 excludeNonAdminWorkspaces : action === CONST . IOU . ACTION . SHARE ,
168- includeP2P : ! isCategorizeOrShareAction && ! isPerDiemRequest && ! isTimeRequest && ! isCorporateCardTransaction ,
168+ includeP2P : ! isCategorizeOrShareAction && ! isPerDiemRequest && ! isTimeRequest && ! isTransactionFromCreditCardImport ,
169169 includeInvoiceRooms : iouType === CONST . IOU . TYPE . INVOICE ,
170170 action,
171171 shouldSeparateSelfDMChat : iouType !== CONST . IOU . TYPE . INVOICE ,
@@ -216,7 +216,7 @@ function ParticipantSearchResults({
216216 const { searchTerm, debouncedSearchTerm, setSearchTerm, availableOptions, selectedOptions, toggleSelection, areOptionsInitialized, onListEndReached, contactState} = useSearchSelector ( {
217217 selectionMode : isIOUSplit ? CONST . SEARCH_SELECTOR . SELECTION_MODE_MULTI : CONST . SEARCH_SELECTOR . SELECTION_MODE_SINGLE ,
218218 searchContext : CONST . SEARCH_SELECTOR . SEARCH_CONTEXT_GENERAL ,
219- includeUserToInvite : ! isCategorizeOrShareAction && ! isPerDiemRequest && ! isTimeRequest && ! isCorporateCardTransaction ,
219+ includeUserToInvite : ! isCategorizeOrShareAction && ! isPerDiemRequest && ! isTimeRequest && ! isTransactionFromCreditCardImport ,
220220 excludeLogins : CONST . EXPENSIFY_EMAILS_OBJECT ,
221221 includeRecentReports : true ,
222222 maxRecentReportsToShow : CONST . IOU . MAX_RECENT_REPORTS_TO_SHOW ,
0 commit comments