[Admin | Trunk]: Change affiliation functions
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@59247 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d6488bbfb7
commit
49a49ba358
|
@ -79,7 +79,7 @@ export class AffiliationsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
getAffiliations() {
|
getAffiliations() {
|
||||||
this.affiliationService.initAffiliations(this.properties, this.properties.communityAPI + this.communityId + "/organizations");
|
this.affiliationService.initAffiliations(this.communityId);
|
||||||
this.affiliationService.affiliations.subscribe(
|
this.affiliationService.affiliations.subscribe(
|
||||||
affiliations => {
|
affiliations => {
|
||||||
this.affiliations = affiliations;
|
this.affiliations = affiliations;
|
||||||
|
|
|
@ -104,7 +104,6 @@ export class WellcomeComponent implements OnInit {
|
||||||
this.propertiesService.setEnvProperties(es);
|
this.propertiesService.setEnvProperties(es);
|
||||||
this.properties = this.propertiesService.envSpecific;
|
this.properties = this.propertiesService.envSpecific;
|
||||||
HelperFunctions.scroll();
|
HelperFunctions.scroll();
|
||||||
let count = 0;
|
|
||||||
this.userManagementService.getUserInfo().subscribe(user => {
|
this.userManagementService.getUserInfo().subscribe(user => {
|
||||||
this.user = user;
|
this.user = user;
|
||||||
this._communitiesService.getCommunitiesState().subscribe(
|
this._communitiesService.getCommunitiesState().subscribe(
|
||||||
|
|
Loading…
Reference in New Issue