Merge pull request #1866 from muhamiyan/issues-1

fix: open dialog directly to create quiz and assignment
This commit is contained in:
Jannat Patel
2025-12-11 17:15:47 +05:30
committed by GitHub
3 changed files with 13 additions and 4 deletions

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?new=true', '_blank')
else window.open('/lms/assignments?new=true', '_blank')
}
</script>