Skip to content

Commit

Permalink
don't do the visibility thing
Browse files Browse the repository at this point in the history
Signed-off-by: Diana Barsan <[email protected]>
  • Loading branch information
dianabarsan committed Oct 1, 2024
1 parent f0b9a19 commit b60f832
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webapp/src/ts/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,13 +724,6 @@ export class AppComponent implements OnInit, AfterViewInit {
}
}

@HostListener('window:visibilitychange')
private refreshRulesEngine() {
if (document.hidden) {
this.rulesEngineService.fetchTargets();
}
}

private async initAnalyticsModules() {
try {
const modules = await this.analyticsModulesService.get();
Expand Down

0 comments on commit b60f832

Please sign in to comment.