|
|
|
@ -129,7 +129,7 @@ export function RouteHOC(options = {}) {
|
|
|
|
|
toWorkQuestionPage = (_courseId, _workId) => {
|
|
|
|
|
const secondName = this.getModuleName()
|
|
|
|
|
if (typeof _courseId == "object") {
|
|
|
|
|
const workId = _courseId.workId
|
|
|
|
|
const workId = _workId || _courseId.workId
|
|
|
|
|
const courseId = _courseId.coursesId
|
|
|
|
|
this.props.history.push(`/courses/${courseId}/${secondName}/${workId}/question`)
|
|
|
|
|
} else {
|
|
|
|
|