fix: clear filters no longer shows up after searching and clearing the search bar

This commit is contained in:
TrèsAbhi committed 2025-07-27 20:36:23 -05:00
1 parent 17755641a1
commit 4bc255a624
3 files changed
+5 -15

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ export interface TankFilters {
classes: TankClass[];
types: TankType[];
testing: 'include' | 'exclude' | 'only';
search?: string;
search: string | null;
searching: boolean;
gunType: CaseType<GunDefinition>[];
shells: [ShellType | null, ShellType | null, ShellType | null];
@@ -30,7 +30,7 @@ export const initialTankFilters: TankFilters = {
classes: [],
types: [],
testing: 'include',
search: undefined,
search: null,
searching: false,
gunType: [],
shells: [null, null, null],