mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
options is nullable while setting user key
This commit is contained in:
parent
230532875b
commit
2efec1d880
@ -581,7 +581,7 @@ export class StateService<
|
||||
this.reconcileOptions(options, await this.defaultInMemoryOptions())
|
||||
);
|
||||
|
||||
if (options.userId == this.activeAccountSubject.getValue()) {
|
||||
if (options?.userId == this.activeAccountSubject.getValue()) {
|
||||
const nextValue = value != null;
|
||||
|
||||
// Avoid emitting if we are already unlocked
|
||||
|
Loading…
Reference in New Issue
Block a user