From 2612f142593ac5469bc17af6a0c8fc8448c99402 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 30 Oct 2025 10:23:24 +0100 Subject: [PATCH] Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com> --- .../encrypted-migrations-scheduler.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts index bbe0d6116f5..99ec9adb6a7 100644 --- a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts +++ b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts @@ -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),