mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: search page reset button resets the sort too now
This commit is contained in:
1 parent
1da517746a
commit
b9d4c391fe
2 files changed
+9
-2
No files matched your search
@@ -9,7 +9,9 @@ export interface TankopediaSort {
|
||||
direction: TankopediaSortDirection;
|
||||
}
|
||||
|
||||
export const $tankopediaSort = map<TankopediaSort>({
|
||||
export const initialTankopediaSort: TankopediaSort = {
|
||||
by: 'meta.none',
|
||||
direction: 'descending',
|
||||
});
|
||||
};
|
||||
|
||||
export const $tankopediaSort = map<TankopediaSort>(initialTankopediaSort);
|
||||
Reference in new issue
Block a user