Fixed History stats actions filter values not being properly implemented.

This commit is contained in:
morpheus65535 2021-06-09 07:43:06 -04:00
parent 1adab3596c
commit db5d37f5d4
2 changed files with 6 additions and 6 deletions

View File

@ -220,7 +220,7 @@ namespace History {
}; };
type TimeframeOptions = "week" | "month" | "trimester" | "year"; type TimeframeOptions = "week" | "month" | "trimester" | "year";
type ActionOptions = 0 | 1 | 2; type ActionOptions = 1 | 2 | 3;
} }
interface SearchResultType { interface SearchResultType {

View File

@ -1,16 +1,16 @@
export const actionOptions: SelectorOption<History.ActionOptions>[] = [ export const actionOptions: SelectorOption<History.ActionOptions>[] = [
{ {
label: "Automatically Downloaded", label: "Automatically Downloaded",
value: 0,
},
{
label: "Manually Downloaded",
value: 1, value: 1,
}, },
{ {
label: "Upgraded", label: "Manually Downloaded",
value: 2, value: 2,
}, },
{
label: "Upgraded",
value: 3,
},
]; ];
export const timeframeOptions: SelectorOption<History.TimeframeOptions>[] = [ export const timeframeOptions: SelectorOption<History.TimeframeOptions>[] = [