Skip to content

Commit

Permalink
Merge pull request #1345 from L3v3L/main
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Jun 22, 2023
2 parents 65e9efb + bf5564f commit 9cf09e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/shared/components/common/sort-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ export class SortSelect extends Component<SortSelectProps, SortSelectState> {
<option disabled aria-hidden="true">
─────
</option>
<option value={"TopHour"}>{I18NextService.i18n.t("top_hour")}</option>
<option value={"TopSixHour"}>
{I18NextService.i18n.t("top_six_hours")}
</option>
<option value={"TopTwelveHour"}>
{I18NextService.i18n.t("top_twelve_hours")}
</option>
<option value={"TopDay"}>{I18NextService.i18n.t("top_day")}</option>
<option value={"TopWeek"}>{I18NextService.i18n.t("top_week")}</option>
<option value={"TopMonth"}>
Expand Down
3 changes: 3 additions & 0 deletions src/shared/utils/app/convert-comment-sort-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export default function convertCommentSortType(
): CommentSortType {
switch (sort) {
case "TopAll":
case "TopHour":
case "TopSixHour":
case "TopTwelveHour":
case "TopDay":
case "TopWeek":
case "TopMonth":
Expand Down

0 comments on commit 9cf09e8

Please sign in to comment.