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) { }
private fetchNavigation(): Observable<NavigationViews> {
const response = this.http.get(navigationPath)
const navigationViews = this.http.get(navigationPath)
.map(res => res.json() as NavigationViews)
.publishLast();
response.connect();
return response;
navigationViews.connect();
return navigationViews;
}
private getActiveNodes() {