Skip to content

Commit

Permalink
Merge pull request #1054 from bcgov/test-marshal-AH-2646
Browse files Browse the repository at this point in the history
Added richards bug fix (ticket 3299) to consults page mapping
  • Loading branch information
Aman-Hundal authored Jul 16, 2024
2 parents 126b9cc + cd7291d commit 3f73892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/FOI/Home/Redlining.js
Original file line number Diff line number Diff line change
Expand Up @@ -3061,7 +3061,7 @@ const Redlining = React.forwardRef(
totalPageCount += Object.keys(
pageMappings[doc.documentid]
).length;
if (!skipDocumentPages) {
if (!skipDocumentPages && !skipOnlyDuplicateDocument && !skipOnlyNRDocument) {
totalPageCountIncludeRemoved += doc.pagecount;
}
//}
Expand Down Expand Up @@ -3253,7 +3253,7 @@ const Redlining = React.forwardRef(
totalPageCount += Object.keys(
pageMappings[doc.documentid]
).length;
if (!skipDocumentPages) {
if (!skipDocumentPages && !skipOnlyDuplicateDocument && !skipOnlyNRDocument) {
totalPageCountIncludeRemoved += doc.pagecount;
}
}
Expand Down

0 comments on commit 3f73892

Please sign in to comment.