diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 9cb61fc85..0e0a1a9e4 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -87,8 +87,8 @@ export class AppComponent { _togglzService .getStateOf('NEW_RELIC_BROWSER_MONITORING') - .subscribe((value) => { - if (true) { + .subscribe((NEW_RELIC_BROWSER_MONITORING) => { + if (NEW_RELIC_BROWSER_MONITORING) { _newRelicService.init() } }) diff --git a/src/index.html b/src/index.html index 75d6f26a5..15886b0e0 100644 --- a/src/index.html +++ b/src/index.html @@ -9,7 +9,55 @@ - +