mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +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 {
|
return {
|
||||||
mode,
|
mode,
|
||||||
sendType: sendType,
|
sendType: send?.type ?? sendType ?? SendType.Text,
|
||||||
areSendsAllowed,
|
areSendsAllowed,
|
||||||
originalSend: send,
|
originalSend: send,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user