Revert "fix: remove redirect to create new quiz and new assignment"

This reverts commit fc82ec8070.
This commit is contained in:
muhamiyan
2025-12-09 09:54:16 +07:00
parent fc82ec8070
commit 1ab51b423f

View File

@@ -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>