mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
not clearing date filter when clearing all filters
This commit is contained in:
parent
cd28684354
commit
e7fcab63a4
1 changed files with 5 additions and 3 deletions
|
@ -1504,9 +1504,11 @@ $(
|
|||
config.resultFilters.date.all = true;
|
||||
} else if ($(e.target).hasClass("noFilters")) {
|
||||
Object.keys(config.resultFilters).forEach((group) => {
|
||||
Object.keys(config.resultFilters[group]).forEach((filter) => {
|
||||
config.resultFilters[group][filter] = false;
|
||||
});
|
||||
if (group !== "date") {
|
||||
Object.keys(config.resultFilters[group]).forEach((filter) => {
|
||||
config.resultFilters[group][filter] = false;
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (e.shiftKey) {
|
||||
|
|
Loading…
Reference in a new issue