fix: quiz progress issue
This commit is contained in:
@@ -648,6 +648,8 @@ const getInstructions = (question) => {
|
||||
|
||||
const markLessonProgress = () => {
|
||||
let pathname = window.location.pathname.split('/')
|
||||
if (!pathname.includes('courses'))
|
||||
pathname = window.parent.location.pathname.split('/')
|
||||
if (pathname[2] != 'courses') return
|
||||
let lessonIndex = pathname.pop().split('-')
|
||||
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
:title="__('Course Outline')"
|
||||
:courseName="course.data.name"
|
||||
:showOutline="true"
|
||||
:getProgress="course.data.membership ? true : false"
|
||||
/>
|
||||
</div>
|
||||
<CourseReviews
|
||||
|
||||
Reference in New Issue
Block a user