diff --git a/public/react/src/modules/courses/members/CourseGroupListTable.js b/public/react/src/modules/courses/members/CourseGroupListTable.js index 84edb2fc5..4645cf838 100644 --- a/public/react/src/modules/courses/members/CourseGroupListTable.js +++ b/public/react/src/modules/courses/members/CourseGroupListTable.js @@ -198,7 +198,7 @@ function CourseGroupListTable(props) { const dataSource = course_groups.map(item => { return { ...item, - subStringOfMember_manager : item.member_manager.length > 92 + subStringOfMember_manager : (item.member_manager && item.member_manager.length > 92) ? item.member_manager.substring(0, 92) + '...' : null } })