diff --git a/code/frontend/src/app/features/seeker-stats/quality-tab/quality-tab.component.ts b/code/frontend/src/app/features/seeker-stats/quality-tab/quality-tab.component.ts index 299ea521..78f7fa02 100644 --- a/code/frontend/src/app/features/seeker-stats/quality-tab/quality-tab.component.ts +++ b/code/frontend/src/app/features/seeker-stats/quality-tab/quality-tab.component.ts @@ -1,4 +1,4 @@ -import { Component, ChangeDetectionStrategy, inject, signal, computed, effect, OnInit } from '@angular/core'; +import { Component, ChangeDetectionStrategy, inject, signal, computed, effect, untracked, OnInit } from '@angular/core'; import { DatePipe } from '@angular/common'; import { NgIcon } from '@ng-icons/core'; import { @@ -81,8 +81,10 @@ export class QualityTabComponent implements OnInit { this.initialLoad = false; return; } - this.loadScores(); - this.loadStats(); + untracked(() => { + this.loadScores(); + this.loadStats(); + }); }); } diff --git a/code/frontend/src/app/features/seeker-stats/searches-tab/searches-tab.component.ts b/code/frontend/src/app/features/seeker-stats/searches-tab/searches-tab.component.ts index c62f1eca..b2895f3a 100644 --- a/code/frontend/src/app/features/seeker-stats/searches-tab/searches-tab.component.ts +++ b/code/frontend/src/app/features/seeker-stats/searches-tab/searches-tab.component.ts @@ -1,4 +1,4 @@ -import { Component, ChangeDetectionStrategy, inject, signal, computed, effect, OnInit } from '@angular/core'; +import { Component, ChangeDetectionStrategy, inject, signal, computed, effect, untracked, OnInit } from '@angular/core'; import { DatePipe } from '@angular/common'; import { NgIcon } from '@ng-icons/core'; import { @@ -79,8 +79,10 @@ export class SearchesTabComponent implements OnInit { this.initialLoad = false; return; } - this.loadSummary(); - this.loadEvents(); + untracked(() => { + this.loadSummary(); + this.loadEvents(); + }); }); } diff --git a/code/frontend/src/app/features/seeker-stats/upgrades-tab/upgrades-tab.component.ts b/code/frontend/src/app/features/seeker-stats/upgrades-tab/upgrades-tab.component.ts index e1a46f03..2670f213 100644 --- a/code/frontend/src/app/features/seeker-stats/upgrades-tab/upgrades-tab.component.ts +++ b/code/frontend/src/app/features/seeker-stats/upgrades-tab/upgrades-tab.component.ts @@ -1,4 +1,4 @@ -import { Component, ChangeDetectionStrategy, inject, signal, effect, OnInit } from '@angular/core'; +import { Component, ChangeDetectionStrategy, inject, signal, effect, untracked, OnInit } from '@angular/core'; import { DatePipe } from '@angular/common'; import { NgIcon } from '@ng-icons/core'; import { @@ -59,7 +59,9 @@ export class UpgradesTabComponent implements OnInit { this.initialLoad = false; return; } - this.loadUpgrades(); + untracked(() => { + this.loadUpgrades(); + }); }); }