Skip to content

Commit

Permalink
Added richards bug fix (ticket 3299) to consults page mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman-Hundal committed Jul 16, 2024
1 parent 126b9cc commit cd7291d
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 cd7291d

Please sign in to comment.