style(aio): fix minor syntax error

This commit is contained in:
Peter Bacon Darwin 2017-04-01 10:01:54 +01:00 committed by Pete Bacon Darwin
parent 759af8b56b
commit c8be3960a0
1 changed files with 3 additions and 3 deletions

View File

@ -81,9 +81,9 @@ export class AppComponent implements OnInit {
}); });
this.navigationService.navigationViews.subscribe(views => { this.navigationService.navigationViews.subscribe(views => {
this.footerNodes = views.Footer || []; this.footerNodes = views['Footer'] || [];
this.sideNavNodes = views.SideNav || []; this.sideNavNodes = views['SideNav'] || [];
this.topMenuNodes = views.TopBar || []; this.topMenuNodes = views['TopBar'] || [];
}); });
this.navigationService.versionInfo.subscribe( vi => this.versionInfo = vi ); this.navigationService.versionInfo.subscribe( vi => this.versionInfo = vi );