[Graph | Trunk]: App component change title
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-graph-portal/trunk@59551 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
a7a7997852
commit
b348a7df89
|
@ -11,7 +11,7 @@ import {LayoutService} from './services/layout.service';
|
||||||
})
|
})
|
||||||
|
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
title = 'OpenAIRE Research Graph';
|
title = 'OpenAIRE - Research Graph';
|
||||||
userMenuItems: MenuItem[] = [];
|
userMenuItems: MenuItem[] = [];
|
||||||
menuItems: RootMenuItem [] = [];
|
menuItems: RootMenuItem [] = [];
|
||||||
logInUrl = null;
|
logInUrl = null;
|
||||||
|
@ -19,7 +19,6 @@ export class AppComponent implements OnInit {
|
||||||
properties: EnvProperties = properties;
|
properties: EnvProperties = properties;
|
||||||
showMenu: boolean = false;
|
showMenu: boolean = false;
|
||||||
user: User;
|
user: User;
|
||||||
isHome: boolean;
|
|
||||||
|
|
||||||
constructor(private layoutService: LayoutService) {}
|
constructor(private layoutService: LayoutService) {}
|
||||||
|
|
||||||
|
@ -28,7 +27,6 @@ export class AppComponent implements OnInit {
|
||||||
this.logOutUrl = this.properties.logoutUrl;
|
this.logOutUrl = this.properties.logoutUrl;
|
||||||
this.showMenu = true;
|
this.showMenu = true;
|
||||||
this.layoutService.isHome.subscribe(isHome => {
|
this.layoutService.isHome.subscribe(isHome => {
|
||||||
this.isHome = isHome;
|
|
||||||
this.buildMenu(isHome);
|
this.buildMenu(isHome);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue