From 738c798dbdb59a004ec1cc52240af10f1960648c Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Sun, 19 Mar 2023 10:52:01 +0100 Subject: [PATCH] block editing completed documents --- apps/web/pages/documents/[id]/recipients.tsx | 23 ++++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/apps/web/pages/documents/[id]/recipients.tsx b/apps/web/pages/documents/[id]/recipients.tsx index 540a658af..b3ba85b9b 100644 --- a/apps/web/pages/documents/[id]/recipients.tsx +++ b/apps/web/pages/documents/[id]/recipients.tsx @@ -16,7 +16,7 @@ import { } from "@heroicons/react/24/outline"; import { getUserFromToken } from "@documenso/lib/server"; import { getDocument } from "@documenso/lib/query"; -import { Document as PrismaDocument } from "@prisma/client"; +import { Document as PrismaDocument, DocumentStatus } from "@prisma/client"; import { Breadcrumb, Button, IconButton } from "@documenso/ui"; import { Dialog, Transition } from "@headlessui/react"; import { @@ -96,14 +96,6 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
- +