Merge pull request #1481 from OpenSignLabs/feat_status

fix: cannot read undefined objectId in reports
This commit is contained in:
prafull-opensignlabs
2024-11-21 11:04:02 +05:30
committed by GitHub
@@ -1270,7 +1270,7 @@ const ReportTable = (props) => {
const formatStatusRow = (item) => {
const signers = item?.Placeholders?.map((x, i) => {
const matchSigner = item?.AuditTrail?.find(
(audit) => audit.UserPtr.objectId === x.signerObjId
(audit) => audit?.UserPtr?.objectId === x.signerObjId
);
if (matchSigner) {
return {