mirror of https://github.com/morpheus65535/bazarr
Fixed History stats actions filter values not being properly implemented.
This commit is contained in:
parent
1adab3596c
commit
db5d37f5d4
|
@ -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 {
|
||||||
|
|
|
@ -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>[] = [
|
||||||
|
|
Loading…
Reference in New Issue