diff --git a/aio/src/app/navigation/navigation.service.ts b/aio/src/app/navigation/navigation.service.ts index 28a9ed0e36..fa74ea0408 100644 --- a/aio/src/app/navigation/navigation.service.ts +++ b/aio/src/app/navigation/navigation.service.ts @@ -36,11 +36,11 @@ export class NavigationService { constructor(private http: Http, private location: LocationService, private logger: Logger) { } private fetchNavigation(): Observable { - 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() {