Skip to content

The Open Source DocuSign Alternative.

ux

Timur Ercan2ba4c0a816f3
diff --git a/apps/web/pages/documents/[id]/recipients.tsx b/apps/web/pages/documents/[id]/recipients.tsx
index b584bebd6..c3f0ef1f3 100644
--- a/apps/web/pages/documents/[id]/recipients.tsx
+++ b/apps/web/pages/documents/[id]/recipients.tsx
@@ -66,7 +66,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
setLoading(false);
});
}}
- disabled={(props?.document?.Recipient?.length || 0) === 0}
+ disabled={
+ (props?.document?.Recipient?.length || 0) === 0 ||
+ !props?.document?.Recipient?.some(
+ (r: any) => r.sendStatus === "NOT_SENT"
+ )
+ }
>
Send
</Button>