Skip to content

Commit e2f12bd

Browse files
committed
PEER-219: Add ID Header
Signed-off-by: SeeuSim <[email protected]>
1 parent c4627b7 commit e2f12bd

File tree

1 file changed

+5
-1
lines changed
  • frontend/src/components/blocks/interview/question-attempts

1 file changed

+5
-1
lines changed

frontend/src/components/blocks/interview/question-attempts/columns.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import { DataTableSortableHeader } from '@/components/ui/data-table';
55
import { IQuestionAttempt } from '@/types/question-types';
66

77
export const columns: Array<ColumnDef<IQuestionAttempt>> = [
8+
{
9+
accessorKey: 'attemptId',
10+
header: 'ID',
11+
},
812
{
913
accessorKey: 'timestamp',
1014
header: ({ column }) => <DataTableSortableHeader column={column} title='Attempted' />,
@@ -16,7 +20,7 @@ export const columns: Array<ColumnDef<IQuestionAttempt>> = [
1620
{
1721
accessorKey: 'language',
1822
header: ({ column }) => (
19-
<DataTableSortableHeader column={column} title='Language' className='ml-auto mr-3' />
23+
<DataTableSortableHeader column={column} title='Language' className='ml-auto' />
2024
),
2125
cell({ row }) {
2226
return (

0 commit comments

Comments
 (0)