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,11 +118,15 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
this.onFileUploadedError(error)
|
this.onFileUploadedError(error)
|
||||||
);
|
);
|
||||||
|
|
||||||
this.appService.ready$.pipe(takeUntil(this.onDestroy$)).subscribe(() => {
|
this.appService.ready$
|
||||||
this.loadRepositoryStatus();
|
.pipe(takeUntil(this.onDestroy$))
|
||||||
this.loadUserProfile();
|
.subscribe(isReady => {
|
||||||
// todo: load external auth-enabled plugins here
|
if (isReady) {
|
||||||
});
|
this.loadRepositoryStatus();
|
||||||
|
this.loadUserProfile();
|
||||||
|
// todo: load external auth-enabled plugins here
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
Reference in New Issue
Block a user