diff --git a/public/react/src/modules/courses/busyWork/NewWork.js b/public/react/src/modules/courses/busyWork/NewWork.js index 462bebaa1..3bb77dfb5 100644 --- a/public/react/src/modules/courses/busyWork/NewWork.js +++ b/public/react/src/modules/courses/busyWork/NewWork.js @@ -38,7 +38,8 @@ class NewWork extends Component{ } } fetchCourseData = (courseId) => { - const url = `/courses/${courseId}/homework_commons/new.json?type=1` + const isGroup = this.props.isGroup() + const url = `/courses/${courseId}/homework_commons/new.json?type=${isGroup ? 3 : 1}` axios.get(url, { }) .then((response) => { @@ -369,7 +370,8 @@ class NewWork extends Component{
*/}