mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
not locked
This commit is contained in:
parent
c37a52be85
commit
3e996ae9ad
@ -185,7 +185,8 @@ export class NotificationsService implements NotificationsServiceAbstraction {
|
||||
|
||||
private async isAuthedAndUnlocked() {
|
||||
if (await this.userService.isAuthenticated()) {
|
||||
return this.lockService.isLocked();
|
||||
const locked = await this.lockService.isLocked();
|
||||
return !locked;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user