mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[ADF-3358] Header - update demo shell component (#3655)
* [ADF-3358] update demo-shell header component * [ADF-3358] style demo-shell header component
This commit is contained in:
committed by
Eugenio Romano
parent
a12662e7e2
commit
c510ec864d
@@ -69,6 +69,8 @@ export class AppLayoutComponent implements OnInit {
|
||||
color = 'primary';
|
||||
title = 'APP_LAYOUT.APP_NAME';
|
||||
logo: string;
|
||||
redirectUrl: string | any[] = ['/home'];
|
||||
tooltip = 'APP_LAYOUT.APP_NAME';
|
||||
|
||||
ngOnInit() {
|
||||
const expand = this.config.get<boolean>('sideNav.expandedSidenav');
|
||||
@@ -84,6 +86,8 @@ export class AppLayoutComponent implements OnInit {
|
||||
this.headerService.color.subscribe(color => this.color = color);
|
||||
this.headerService.title.subscribe(title => this.title = title);
|
||||
this.headerService.logo.subscribe(path => this.logo = path);
|
||||
this.headerService.redirectUrl.subscribe(redirectUrl => this.redirectUrl = redirectUrl);
|
||||
this.headerService.tooltip.subscribe(tooltip => this.tooltip = tooltip);
|
||||
}
|
||||
|
||||
constructor(
|
||||
|
Reference in New Issue
Block a user