File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -756,7 +756,7 @@ const ModernizationPage = () => {
756756 }
757757
758758 // Update text with file count
759- setText ( `${ new Date ( ) . toLocaleDateString ( ) } (${ fileItems . length } files)` ) ;
759+ setText ( `${ new Date ( ) . toLocaleDateString ( ) } (${ fileItems . length } ${ fileItems . length === 1 ? 'file' : ' files' } )` ) ;
760760 }
761761 } , [ reduxFileList , batchId ] ) ;
762762
@@ -818,6 +818,10 @@ const ModernizationPage = () => {
818818
819819 return updated ;
820820 } ) ;
821+
822+ // Navigate to batch view page when processing is complete
823+ console . log ( "All files processed, navigating to batch view page" ) ;
824+ navigate ( `/batch-view/${ batchId } ` ) ;
821825 }
822826 } catch ( err ) {
823827 console . error ( "Failed to update summary status:" , err ) ;
@@ -1218,6 +1222,7 @@ useEffect(() => {
12181222 </ div >
12191223
12201224 </ Card >
1225+ { expandedSections . includes ( "errors" ) && renderErrorContent ( batchSummary ) }
12211226
12221227 </ div >
12231228 </ >
You can’t perform that action at this time.
0 commit comments