Skip to content

Commit fa98972

Browse files
fix: cannot read undefined objectId in reports
1 parent c3faaa6 commit fa98972

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/OpenSign/src/primitives/GetReportDisplay.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,9 +1268,10 @@ const ReportTable = (props) => {
12681268
};
12691269
// `formatStatusRow` is used to format status row
12701270
const formatStatusRow = (item) => {
1271+
console.log("item?.AuditTrail ", item?.AuditTrail);
12711272
const signers = item?.Placeholders?.map((x, i) => {
12721273
const matchSigner = item?.AuditTrail?.find(
1273-
(audit) => audit.UserPtr.objectId === x.signerObjId
1274+
(audit) => audit?.UserPtr?.objectId === x.signerObjId
12741275
);
12751276
if (matchSigner) {
12761277
return {

0 commit comments

Comments
 (0)