mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 02:01:33 +10:00
ux
This commit is contained in:
@ -66,7 +66,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
setLoading(false);
|
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
|
Send
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user