1
0
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:
Bernd Schoolmann
2025-10-30 10:23:24 +01:00
committed by GitHub
parent 15a7ab0589
commit 2612f14259

View File

@@ -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),