From f7440c1cf2e39355b76b6ed5a72cfbdec418be80 Mon Sep 17 00:00:00 2001 From: Daniel James Smith <2670567+djsmith85@users.noreply.github.com> Date: Tue, 11 Mar 2025 15:28:50 +0100 Subject: [PATCH] Ensure the SendType is always set when building a SendFormConfig (#13786) Includes a fallback to SendType.Text when non other path worked. Co-authored-by: Daniel James Smith --- .../src/send-form/services/default-send-form-config.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/tools/send/send-ui/src/send-form/services/default-send-form-config.service.ts b/libs/tools/send/send-ui/src/send-form/services/default-send-form-config.service.ts index a786d62df06..b222aa6cc1a 100644 --- a/libs/tools/send/send-ui/src/send-form/services/default-send-form-config.service.ts +++ b/libs/tools/send/send-ui/src/send-form/services/default-send-form-config.service.ts @@ -34,7 +34,7 @@ export class DefaultSendFormConfigService implements SendFormConfigService { return { mode, - sendType: sendType, + sendType: send?.type ?? sendType ?? SendType.Text, areSendsAllowed, originalSend: send, };