Fix a bug with AdvancedSyncSubject

This commit is contained in:
Konstantinos Triantafyllou 2022-01-20 11:18:32 +02:00
parent 3228c67a14
commit c42addf501
1 changed files with 1 additions and 1 deletions

View File

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