Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
bug: fix loading bug
Ashish Viradiya48fe03bf9c84
diff --git a/ee/features/permissions/components/dataroom-link-sheet.tsx b/ee/features/permissions/components/dataroom-link-sheet.tsxindex 7a4aa3b2..5df600ea 100644--- a/ee/features/permissions/components/dataroom-link-sheet.tsx+++ b/ee/features/permissions/components/dataroom-link-sheet.tsx@@ -573,6 +573,7 @@ export function DataroomLinkSheet({showSuccess: boolean = false,) => {// For backward compatibility, extract permissions from linkData+ setIsSaving(true);const permissions = linkData.permissions || null;await createOrUpdateLinkWithPermissions(linkData,@@ -589,7 +590,6 @@ export function DataroomLinkSheet({shouldManagePermissions: boolean = false,) => {event.preventDefault();- setIsSaving(true);if (shouldManagePermissions && linkType === LinkType.DATAROOM_LINK) {// Store the link data and show permissions sheet@@ -597,7 +597,6 @@ export function DataroomLinkSheet({setShowPermissionsSheet(true);return;}-// Use the refactored functionawait createLinkWithPermissions(data, shouldPreview);};