Revert "fix: remove redirect to create new quiz and new assignment"
This reverts commit fc82ec8070.
This commit is contained in:
@@ -71,7 +71,7 @@ const addAssessment = () => {
|
||||
}
|
||||
|
||||
const redirectToForm = () => {
|
||||
if (props.type == 'quiz') window.open('/lms/quizzes', '_blank')
|
||||
else window.open('/lms/assignments', '_blank')
|
||||
if (props.type == 'quiz') window.open('/lms/quizzes/new', '_blank')
|
||||
else window.open('/lms/assignments/new', '_blank')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user