mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
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 <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
552f40c2d5
commit
f7440c1cf2
@@ -34,7 +34,7 @@ export class DefaultSendFormConfigService implements SendFormConfigService {
|
||||
|
||||
return {
|
||||
mode,
|
||||
sendType: sendType,
|
||||
sendType: send?.type ?? sendType ?? SendType.Text,
|
||||
areSendsAllowed,
|
||||
originalSend: send,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user