fix: show created tab to users with moderator or instructor role
This commit is contained in:
@@ -81,7 +81,10 @@ const fetchEnrollmentDetails = () => {
|
|||||||
if (data.purchased_certificate) {
|
if (data.purchased_certificate) {
|
||||||
certificate.reload()
|
certificate.reload()
|
||||||
} else {
|
} else {
|
||||||
router.push({ name: 'CourseDetail', params: { courseName: props.courseName } })
|
router.push({
|
||||||
|
name: 'CourseDetail',
|
||||||
|
params: { courseName: props.courseName },
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user