Project

General

Profile

« Previous | Next » 

Revision 59551

[Graph | Trunk]: App component change title

View differences:

app.component.ts
11 11
})
12 12

  
13 13
export class AppComponent implements OnInit {
14
  title = 'OpenAIRE Research Graph';
14
  title = 'OpenAIRE - Research Graph';
15 15
  userMenuItems: MenuItem[] = [];
16 16
  menuItems: RootMenuItem [] = [];
17 17
  logInUrl = null;
......
19 19
  properties: EnvProperties = properties;
20 20
  showMenu: boolean = false;
21 21
  user: User;
22
  isHome: boolean;
23 22
  
24 23
  constructor(private layoutService: LayoutService) {}
25 24
  
......
28 27
    this.logOutUrl = this.properties.logoutUrl;
29 28
    this.showMenu = true;
30 29
    this.layoutService.isHome.subscribe(isHome => {
31
      this.isHome = isHome;
32 30
      this.buildMenu(isHome);
33 31
    });
34 32
  }

Also available in: Unified diff