[Monitor Dashboard | Trunk]: Remove url from getUserInfo.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57940 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
947cef796f
commit
7813307992
|
@ -71,9 +71,10 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
} else {
|
||||
this.stakeholderService.setStakeholder(null);
|
||||
this.layoutService.setOpen(true);
|
||||
}
|
||||
}));
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe(user => {
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
||||
this.user = user;
|
||||
this.buildMenu();
|
||||
}, error => {
|
||||
|
|
|
@ -141,7 +141,7 @@ export class MonitorComponent implements OnInit, OnDestroy, IDeactivateComponent
|
|||
} else {
|
||||
this.setView(params);
|
||||
}
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe(user => {
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
||||
this.user = user;
|
||||
this.buildMenu();
|
||||
}, error => {
|
||||
|
@ -208,7 +208,7 @@ export class MonitorComponent implements OnInit, OnDestroy, IDeactivateComponent
|
|||
} else {
|
||||
this.setView(params);
|
||||
}
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe(user => {
|
||||
this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => {
|
||||
this.user = user;
|
||||
this.buildMenu();
|
||||
}, error => {
|
||||
|
|
|
@ -69,7 +69,7 @@ export class SubscribeComponent {
|
|||
this.route.data
|
||||
.subscribe((data: { envSpecific: EnvProperties }) => {
|
||||
this.properties = data.envSpecific;
|
||||
this.userManagementService.getUserInfo(this.properties.userInfoUrl).subscribe( user => {
|
||||
this.userManagementService.getUserInfo().subscribe(user => {
|
||||
this.user = user;
|
||||
if (!this.showNumbers) {
|
||||
let email = (this.user)?this.user.email:null;
|
||||
|
|
Loading…
Reference in New Issue