fix: misc issues

This commit is contained in:
Jannat Patel
2025-11-10 13:19:54 +05:30
parent fff9769791
commit 9447903d5b
7 changed files with 35 additions and 24 deletions

View File

@@ -266,8 +266,7 @@ const checkIfUserIsPermitted = (doc: any = null) => {
!user.data.is_evaluator
) {
router.push({
name: 'ProgrammingExerciseSubmission',
params: { exerciseID: props.exerciseID, submissionID: 'new' },
name: 'Courses',
})
return
}