File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ const BatchStoryPage = () => {
385385 }
386386
387387 // Show the summary page when summary is selected
388- if ( selectedFile . id === "summary" && batchSummary ) {
388+ if ( selectedFile . id === "summary" ) {
389389 // Check if there are no errors and all files are processed successfully
390390 const noErrors = ( batchSummary . error_count === 0 ) ;
391391 const allFilesProcessed = ( batchSummary . completed_files === batchSummary . total_files ) ;
Original file line number Diff line number Diff line change @@ -1251,7 +1251,7 @@ useEffect(() => {
12511251 }
12521252
12531253 // Show the full summary page only when all files are completed and summary is selected
1254- if ( allFilesCompleted && selectedFile ?. id === "summary" ) {
1254+ if ( selectedFile ?. id === "summary" ) {
12551255 const completedCount = files . filter ( file => file . status === "completed" && file . file_result !== "error" && file . id !== "summary" ) . length ;
12561256 const totalCount = files . filter ( file => file . id !== "summary" ) . length ;
12571257 const errorCount = selectedFile . errorCount || 0 ;
You can’t perform that action at this time.
0 commit comments