mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CST-5307] fix issue with unsubscribed subscription
This commit is contained in:
@@ -80,6 +80,7 @@ export class ProfilePageResearcherFormComponent implements OnInit {
|
|||||||
this.processingCreate$.next(true);
|
this.processingCreate$.next(true);
|
||||||
|
|
||||||
this.authService.getAuthenticatedUserFromStore().pipe(
|
this.authService.getAuthenticatedUserFromStore().pipe(
|
||||||
|
take(1),
|
||||||
switchMap((currentUser) => this.profileClaimService.hasProfilesToSuggest(currentUser)))
|
switchMap((currentUser) => this.profileClaimService.hasProfilesToSuggest(currentUser)))
|
||||||
.subscribe((hasProfilesToSuggest) => {
|
.subscribe((hasProfilesToSuggest) => {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user