This commit is contained in:
Kenneth Jannette
2024-03-03 23:59:33 -06:00
parent 0dd772b1e4
commit 66ae43ef81
3 changed files with 17 additions and 7 deletions

View File

@@ -242,7 +242,7 @@ const DocumentListPage = ({ perPage }) => {
</div>
</div>
<div className="document-list-lower-wrapper">
{allRequestDocs.length > 0 ? (
{allRequestDocs?.length > 0 ? (
allRequestDocs
.slice((page - 1) * perPage, page * perPage)
.map((doc, i) => (
@@ -279,7 +279,7 @@ const DocumentListPage = ({ perPage }) => {
</div>
</div>
<div className="document-list-lower-wrapper">
{allResponseDocs.length > 0 ? (
{allResponseDocs?.length > 0 ? (
allResponseDocs
.slice((page - 1) * perPage, page * perPage)
.map((doc, i) => (