fix: remove redirect to create new quiz and new assignment

This commit is contained in:
muhamiyan
2025-11-28 17:21:29 +07:00
parent 66c70dd233
commit fc82ec8070

View File

@@ -71,7 +71,7 @@ const addAssessment = () => {
}
const redirectToForm = () => {
if (props.type == 'quiz') window.open('/lms/quizzes/new', '_blank')
else window.open('/lms/assignments/new', '_blank')
if (props.type == 'quiz') window.open('/lms/quizzes', '_blank')
else window.open('/lms/assignments', '_blank')
}
</script>