mirror of
https://github.com/bitwarden/browser
synced 2026-02-21 20:04:02 +00:00
Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
This commit is contained in:
@@ -68,7 +68,7 @@ export class DefaultEncryptedMigrationsSchedulerService
|
||||
userIds.map((userId) =>
|
||||
combineLatest([
|
||||
this.authService.authStatusFor$(userId),
|
||||
this.syncService.lastSync$(userId),
|
||||
this.syncService.lastSync$(userId).pipe(filter(lastSync => lastSync != null)),
|
||||
]).pipe(
|
||||
filter(([authStatus]) => authStatus === AuthenticationStatus.Unlocked),
|
||||
map(([, lastSync]) => ({ userId, lastSync }) as UserSyncData),
|
||||
|
||||
Reference in New Issue
Block a user