mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
fix login
This commit is contained in:
@@ -118,10 +118,14 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
this.onFileUploadedError(error)
|
||||
);
|
||||
|
||||
this.appService.ready$.pipe(takeUntil(this.onDestroy$)).subscribe(() => {
|
||||
this.appService.ready$
|
||||
.pipe(takeUntil(this.onDestroy$))
|
||||
.subscribe(isReady => {
|
||||
if (isReady) {
|
||||
this.loadRepositoryStatus();
|
||||
this.loadUserProfile();
|
||||
// todo: load external auth-enabled plugins here
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user