We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65e7d6e + ad1352d commit 3789897Copy full SHA for 3789897
atcoder-problems-frontend/src/components/SubmissionListTable.tsx
@@ -14,6 +14,12 @@ import {
14
} from "./ListPaginationPanel";
15
import { NewTabLink } from "./NewTabLink";
16
17
+const problemTitle = (
18
+ problemName: string | undefined,
19
+ { problemIndex }: { problemIndex?: string }
20
+): string =>
21
+ problemIndex ? `${problemIndex}. ${problemName || ""}` : problemName || "";
22
+
23
interface Props {
24
submissions: Submission[];
25
userRatingInfo?: RatingInfo;
@@ -113,7 +119,7 @@ export const SubmissionListTable: React.FC<Props> = (props) => {
113
119
Date
114
120
</TableHeaderColumn>
115
121
<TableHeaderColumn
116
- filterFormatted
122
+ filterValue={problemTitle}
117
123
dataSort
118
124
dataField="name"
125
dataFormat={(
0 commit comments