Skip to content

Commit e4e376e

Browse files
Update helper.tsx - fix sort issue
Signed-off-by: andriibiloussigma <andrii.m.bilous@sigma.software>
1 parent 0bd4f56 commit e4e376e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/pages/agreements/helper.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ export const getNestedValue = (obj: AgreementDocument, path: string) => {
8383
return obj.file_name;
8484
case "type":
8585
return obj.type;
86+
case "parties":
87+
return obj?.parties?.map((party) => party.name_in_agreement).join(", ") ?? "-";
8688
case "expiration_date":
8789
return obj.provisions?.expiration_date
8890
? new Date(obj.provisions.expiration_date)

0 commit comments

Comments
 (0)