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() {
122122 setSubmission ( {
123123 submittedAt : submittedAt . toLocaleString ( "en-US" ) ,
124124 language : data . language ,
125- matchedUser : data . matchedUser ,
125+ matchedUser :
126+ username == data . matchedUser ? data . User : data . matchedUser ,
126127 code : data . code ,
127128 historyDocRefId : data . historyDocRefId ,
128129 } ) ;
@@ -141,11 +142,6 @@ export default function QuestionPage() {
141142 } , [ currentSubmissionId ] ) ;
142143
143144 const columns = [
144- {
145- title : "ID" ,
146- dataIndex : "id" ,
147- key : "id" ,
148- } ,
149145 {
150146 title : "Submitted at" ,
151147 dataIndex : "createdAt" ,
@@ -206,6 +202,7 @@ export default function QuestionPage() {
206202 style : { cursor : "pointer" } ,
207203 } ;
208204 } }
205+ scroll = { { y : "max-content" } }
209206 loading = { isHistoryLoading }
210207 />
211208 </ div >
You can’t perform that action at this time.
0 commit comments