mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
Redirect breadcrump link on completed to avoid editing
This commit is contained in:
@ -34,7 +34,10 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: props.document.title,
|
title: props.document.title,
|
||||||
href: NEXT_PUBLIC_WEBAPP_URL + "/documents/" + props.document.id,
|
href:
|
||||||
|
props.document.status !== DocumentStatus.COMPLETED
|
||||||
|
? NEXT_PUBLIC_WEBAPP_URL + "/documents/" + props.document.id
|
||||||
|
: NEXT_PUBLIC_WEBAPP_URL + "/documents/" + props.document.id + "/recipients",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Recipients",
|
title: "Recipients",
|
||||||
|
|||||||
Reference in New Issue
Block a user