mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 17:51:49 +10:00
ux
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user