mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
fix: clear filters no longer shows up after searching and clearing the search bar
This commit is contained in:
1 parent
17755641a1
commit
4bc255a624
3 files changed
+5
-15
No files matched your search
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user