mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-04-01 21:16:09 -04:00
Fix duplicated event search when changing instance for Seeker stats (#537)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user