Skip to content

Commit ae0e967

Browse files
Updated the conditional
1 parent b8161a3 commit ae0e967

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/src/pages/batchView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

src/frontend/src/pages/modernizationPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)