mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
overload defaults on options get
This commit is contained in:
parent
154c211fb1
commit
7c3e0cba34
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user