diff --git a/apps/mina-sidor-fa/src/app/shared/services/api/deltagare.service.ts b/apps/mina-sidor-fa/src/app/shared/services/api/deltagare.service.ts index 5f84957..a534322 100644 --- a/apps/mina-sidor-fa/src/app/shared/services/api/deltagare.service.ts +++ b/apps/mina-sidor-fa/src/app/shared/services/api/deltagare.service.ts @@ -48,7 +48,7 @@ export class DeltagareService extends UnsubscribeDirective { constructor(private httpClient: HttpClient, private errorService: ErrorService) { super(); - this.unsubscribeOnDestroy( + super.unsubscribeOnDestroy( this._currentDeltagareId$ .pipe( filter(currentDeltagareId => !!currentDeltagareId), diff --git a/apps/mina-sidor-fa/src/app/shared/services/api/user.service.ts b/apps/mina-sidor-fa/src/app/shared/services/api/user.service.ts index 7ab588d..d546528 100644 --- a/apps/mina-sidor-fa/src/app/shared/services/api/user.service.ts +++ b/apps/mina-sidor-fa/src/app/shared/services/api/user.service.ts @@ -23,7 +23,7 @@ export class UserService extends UnsubscribeDirective { constructor(private httpClient: HttpClient) { super(); - this.unsubscribeOnDestroy( + super.unsubscribeOnDestroy( combineLatest([this._fetchUserInfo$(), this._fetchOrganizations$()]).subscribe(([userInfo, organizations]) => { this._user$.next({ ...userInfo, organizations }); })