fix: audit logs

This commit is contained in:
Ephraim Atta-Duncan
2024-10-16 23:05:44 +00:00
parent cc8b972fbc
commit bb805ea93b
7 changed files with 34 additions and 6 deletions

View File

@ -335,6 +335,16 @@ export const DocumentHistorySheet = ({
]}
/>
))
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.SELF_SIGN }, ({ data }) => (
<DocumentHistorySheetChanges
values={[
{
key: 'Signed by',
value: data.recipientEmail,
},
]}
/>
))
.with(
{ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_VISIBILITY_UPDATED },
({ data }) => (