From 7e2b53b65b7e8ce4549c5201fd6f5848cef26a28 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Fri, 5 Jul 2019 10:01:00 +0800 Subject: [PATCH] isAdminOrTeacher --- public/react/src/modules/courses/members/teacherList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index 5f2459dd3..c0c450ac0 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -174,7 +174,7 @@ function buildColumns(that) { }, }) } - if(isAdmin && hasGraduationModule) { + if(isAdminOrTeacher && hasGraduationModule) { columns.unshift({ title: '', dataIndex: 'course_member_id', @@ -594,7 +594,7 @@ class studentsList extends Component{ `}