From d9b772232527808b899adb3c0d1bc2127014cd5c Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Mon, 22 Jun 2026 16:27:50 +1000 Subject: [PATCH] fix: correctly use default distribute envelope tab (#3010) --- .../app/components/dialogs/envelope-distribute-dialog.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx b/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx index 750ab38f2..211746faf 100644 --- a/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx +++ b/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx @@ -206,6 +206,11 @@ export const EnvelopeDistributeDialog = ({ }; useEffect(() => { + // Default the distribution method tab to the envelope's configured setting. + if (isOpen && envelope.documentMeta) { + setValue('meta.distributionMethod', envelope.documentMeta.distributionMethod); + } + // Resync the whole envelope if the envelope is mid saving. if (isOpen && (isAutosaving || autosaveError)) { void handleSync();