style(aio): rename local variable

This commit is contained in:
Peter Bacon Darwin 2017-03-06 14:17:49 +00:00 committed by Igor Minar
parent 0d6aa0caed
commit b017fbe48e
1 changed files with 3 additions and 3 deletions

View File

@ -36,11 +36,11 @@ export class NavigationService {
constructor(private http: Http, private location: LocationService, private logger: Logger) { } constructor(private http: Http, private location: LocationService, private logger: Logger) { }
private fetchNavigation(): Observable<NavigationViews> { private fetchNavigation(): Observable<NavigationViews> {
const response = this.http.get(navigationPath) const navigationViews = this.http.get(navigationPath)
.map(res => res.json() as NavigationViews) .map(res => res.json() as NavigationViews)
.publishLast(); .publishLast();
response.connect(); navigationViews.connect();
return response; return navigationViews;
} }
private getActiveNodes() { private getActiveNodes() {