From c42addf501ff0b4cf7c41f7d55bca661d2d3726b Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 20 Jan 2022 11:18:32 +0200 Subject: [PATCH] Fix a bug with AdvancedSyncSubject --- services/user-management.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/user-management.service.ts b/services/user-management.service.ts index ab3666c4..96f61ec1 100644 --- a/services/user-management.service.ts +++ b/services/user-management.service.ts @@ -75,7 +75,7 @@ export class UserManagementService { resolve(); } }, error => { - if(this.getUserInfoSubject.getValue()) { + if(this.getUserInfoSubject.getValue() || this.getUserInfoSubject instanceof AdvancedAsyncSubject) { this.getUserInfoSubject.next(null); } if (resolve) {