mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
overload defaults on options get
This commit is contained in:
@@ -184,7 +184,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
|
||||
if (options == null) {
|
||||
this.optionsCache = DefaultOptions;
|
||||
} else {
|
||||
this.optionsCache = options;
|
||||
this.optionsCache = Object.assign({}, DefaultOptions, options);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user