File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -887,6 +887,7 @@ function useSearchBulkActions({queryJSON}: UseSearchBulkActionsParams) {
887887
888888 const connectedIntegration = getConnectedIntegration ( policy ) ;
889889 const isReportsTab = isExpenseReportType ;
890+ const includesGroupExport = Object . values ( selectedTransactions ) . some ( selectedTransaction => ! selectedTransaction ?. transaction ) ;
890891
891892 const canReportBeExported = ( report : ( typeof selectedReports ) [ 0 ] , exportOption : ValueOf < typeof CONST . REPORT . EXPORT_OPTIONS > ) => {
892893 if ( ! report . reportID ) {
@@ -1005,6 +1006,9 @@ function useSearchBulkActions({queryJSON}: UseSearchBulkActionsParams) {
10051006 } ) ;
10061007
10071008 for ( const template of exportTemplates ) {
1009+ if ( includesGroupExport ) {
1010+ break ;
1011+ }
10081012 exportOptions . push ( {
10091013 text : template . name ,
10101014 icon : expensifyIcons . Table ,
You can’t perform that action at this time.
0 commit comments