diff --git a/frontend/src/@types/api.d.ts b/frontend/src/@types/api.d.ts index 968237290..745abd12c 100644 --- a/frontend/src/@types/api.d.ts +++ b/frontend/src/@types/api.d.ts @@ -220,7 +220,7 @@ namespace History { }; type TimeframeOptions = "week" | "month" | "trimester" | "year"; - type ActionOptions = 0 | 1 | 2; + type ActionOptions = 1 | 2 | 3; } interface SearchResultType { diff --git a/frontend/src/History/Statistics/options.ts b/frontend/src/History/Statistics/options.ts index 2d223b9b6..5cdd63478 100644 --- a/frontend/src/History/Statistics/options.ts +++ b/frontend/src/History/Statistics/options.ts @@ -1,16 +1,16 @@ export const actionOptions: SelectorOption[] = [ { label: "Automatically Downloaded", - value: 0, - }, - { - label: "Manually Downloaded", value: 1, }, { - label: "Upgraded", + label: "Manually Downloaded", value: 2, }, + { + label: "Upgraded", + value: 3, + }, ]; export const timeframeOptions: SelectorOption[] = [