diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index 18d9a1adf..c22b490ef 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -164,16 +164,16 @@ function buildColumns(that) { }, }) } - // if(isAdminOrTeacher && hasGraduationModule) { - // columns.unshift({ - // title: '', - // dataIndex: 'course_member_id', - // key: 'course_member_id', - // render: (content, item, index) => { - // return content ? : '' - // } - // }) - // } + if(isAdminOrTeacher && hasGraduationModule) { + columns.unshift({ + title: '', + dataIndex: 'course_member_id', + key: 'course_member_id', + render: (content, item, index) => { + return content ? : '' + } + }) + } return columns } @@ -688,6 +688,10 @@ class studentsList extends Component{ line-height:30px!important; flex: 0 0 30px; } + + .teacher_table .ant-table-thead > tr > th, .ant-table-tbody > tr > td { + padding: 16px 10px; + } `}
@@ -741,7 +745,7 @@ class studentsList extends Component{
} } -
+
{combineArray.length ? {/* pagination={{ current: page, total: total_count, pageSize:20, onChange: this.onPageChange }} */}