File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -538,14 +538,14 @@ AppellateDelegate.prototype.handleAcmsDownloadPage = async function () {
538538 ( entry ) => entry . docketEntryId == downloadData . docketEntryId
539539 ) ;
540540
541- if ( ! docketEntryData . docketEntryDocuments . length ) {
541+ if ( ! docketEntryData ? .docketEntryDocuments ? .length ) {
542542 return { docketEntryData : null , documentData : null } ;
543543 }
544544
545545 // For entries with multiple attachments, match on the specific document
546546 // that was clicked. For single-document entries, use the only document.
547547 let documentData ;
548- if ( docketEntryData . docketEntryDocuments . length > 1 ) {
548+ if ( docketEntryData ? .docketEntryDocuments ? .length > 1 ) {
549549 documentData = docketEntryData . docketEntryDocuments . find (
550550 ( doc ) =>
551551 doc . docketDocumentDetailsId ==
@@ -655,13 +655,13 @@ AppellateDelegate.prototype.handleAcmsDownloadPage = async function () {
655655 ( entry ) => entry . docketEntryId == downloadData . docketEntryId
656656 ) ;
657657
658- if ( ! docketEntryData . docketEntryDocuments . length ) return ;
658+ if ( ! docketEntryData ? .docketEntryDocuments ? .length ) return ;
659659
660660 const pdfFileRequestBody =
661661 APPELLATE . createAcmsDocumentRequestBody ( downloadData ) ;
662662
663663 let docData = null ;
664- if ( docketEntryData . docketEntryDocuments . length > 1 ) {
664+ if ( docketEntryData ? .docketEntryDocuments ? .length > 1 ) {
665665 docData = docketEntryData . docketEntryDocuments . find (
666666 ( doc ) =>
667667 doc . docketDocumentDetailsId ==
You can’t perform that action at this time.
0 commit comments