File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
apps/frontend/src/app/question/[id] Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ export default function QuestionPage() {
122
122
setSubmission ( {
123
123
submittedAt : submittedAt . toLocaleString ( "en-US" ) ,
124
124
language : data . language ,
125
- matchedUser : data . matchedUser ,
125
+ matchedUser :
126
+ username == data . matchedUser ? data . User : data . matchedUser ,
126
127
code : data . code ,
127
128
historyDocRefId : data . historyDocRefId ,
128
129
} ) ;
@@ -141,11 +142,6 @@ export default function QuestionPage() {
141
142
} , [ currentSubmissionId ] ) ;
142
143
143
144
const columns = [
144
- {
145
- title : "ID" ,
146
- dataIndex : "id" ,
147
- key : "id" ,
148
- } ,
149
145
{
150
146
title : "Submitted at" ,
151
147
dataIndex : "createdAt" ,
@@ -206,6 +202,7 @@ export default function QuestionPage() {
206
202
style : { cursor : "pointer" } ,
207
203
} ;
208
204
} }
205
+ scroll = { { y : "max-content" } }
209
206
loading = { isHistoryLoading }
210
207
/>
211
208
</ div >
You can’t perform that action at this time.
0 commit comments