The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix: improve move to team display logic
Mythie741639ee782c
diff --git a/apps/remix/app/components/tables/documents-table-action-dropdown.tsx b/apps/remix/app/components/tables/documents-table-action-dropdown.tsxindex e4a2814c8..221e980e8 100644--- a/apps/remix/app/components/tables/documents-table-action-dropdown.tsx+++ b/apps/remix/app/components/tables/documents-table-action-dropdown.tsx@@ -157,7 +157,7 @@ export const DocumentsTableActionDropdown = ({ row }: DocumentsTableActionDropdo</DropdownMenuItem>{/* We don't want to allow teams moving documents across at the moment. */}- {!team && (+ {!team && !row.teamId && (<DropdownMenuItem onClick={() => setMoveDialogOpen(true)}><MoveRight className="mr-2 h-4 w-4" /><Trans>Move to Team</Trans>diff --git a/apps/remix/app/components/tables/templates-table-action-dropdown.tsx b/apps/remix/app/components/tables/templates-table-action-dropdown.tsxindex ef63bebef..a1c12e34b 100644--- a/apps/remix/app/components/tables/templates-table-action-dropdown.tsx+++ b/apps/remix/app/components/tables/templates-table-action-dropdown.tsx@@ -83,7 +83,7 @@ export const TemplatesTableActionDropdown = ({<Trans>Direct link</Trans></DropdownMenuItem>- {!teamId && (+ {!teamId && !row.teamId && (<DropdownMenuItem onClick={() => setMoveDialogOpen(true)}><MoveRight className="mr-2 h-4 w-4" /><Trans>Move to Team</Trans>