Disable the edit and add signer button for completed documents

This commit is contained in:
Ephraim Atta-Duncan
2023-04-09 12:26:48 +00:00
parent 30c1c76dd7
commit e86d4cc719
3 changed files with 85 additions and 74 deletions

View File

@ -291,6 +291,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
event.stopPropagation();
router.push("/documents/" + document.id);
}}
disabled={document.status === "COMPLETED"}
/>
<IconButton
icon={ArrowDownTrayIcon}