1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

SG-632 Fix default value of email providers list (#4213)

This commit is contained in:
Carlos Gonçalves
2022-12-16 14:32:18 +00:00
committed by GitHub
parent 1e53ae4fb2
commit 8bfe48ea73
2 changed files with 5 additions and 2 deletions

View File

@@ -244,7 +244,10 @@ export class GeneratorComponent implements OnInit {
];
this.usernameOptions = await this.usernameGenerationService.getOptions();
if (this.usernameOptions.forwardedService == null) {
if (
this.usernameOptions.forwardedService == null ||
this.usernameOptions.forwardedService === ""
) {
this.forwardOptions.push({ name: "", value: null });
}