feat: move document to team (#1210)

Introduces a new dialog component allowing users to move documents
between teams with included audit logging.
This commit is contained in:
Ephraim Duncan
2024-07-02 02:47:24 +00:00
committed by GitHub
parent 90c43dcd0a
commit 92c09c5850
9 changed files with 272 additions and 2 deletions

View File

@ -157,6 +157,7 @@ export const DocumentHistorySheet = ({
{ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_OPENED },
{ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_RECIPIENT_COMPLETED },
{ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_SENT },
{ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_MOVED_TO_TEAM },
() => null,
)
.with(
@ -304,7 +305,6 @@ export const DocumentHistorySheet = ({
]}
/>
))
.exhaustive()}
{isUserDetailsVisible && (