mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
ui
This commit is contained in:
@ -72,20 +72,15 @@ const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">
|
<div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">
|
||||||
<Button
|
<Button
|
||||||
icon={UserPlusIcon}
|
icon={PaperAirplaneIcon}
|
||||||
|
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
||||||
|
className="ml-3"
|
||||||
href={
|
href={
|
||||||
NEXT_PUBLIC_WEBAPP_URL +
|
NEXT_PUBLIC_WEBAPP_URL +
|
||||||
"/documents/" +
|
"/documents/" +
|
||||||
props.document.id +
|
props.document.id +
|
||||||
"/recipients"
|
"/recipients"
|
||||||
}
|
}
|
||||||
>
|
|
||||||
Add Recipients
|
|
||||||
</Button>
|
|
||||||
<Button
|
|
||||||
icon={PaperAirplaneIcon}
|
|
||||||
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
|
||||||
className="ml-3"
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (
|
if (
|
||||||
confirm(
|
confirm(
|
||||||
@ -95,7 +90,7 @@ const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Send
|
Prepare to Send
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user