fix: misc issues

This commit is contained in:
Jannat Patel
2025-12-02 15:41:42 +05:30
parent 1c0be8a2ec
commit 7bc6dff6ea
6 changed files with 103 additions and 7885 deletions

View File

@@ -113,7 +113,7 @@
{{ __('Enroll Now') }}
</Button>
<router-link
v-if="isModerator"
v-if="canCreateBatch"
:to="{
name: 'BatchForm',
params: {
@@ -212,4 +212,8 @@ const isEvaluator = computed(() => {
const canAccessBatch = computed(() => {
return isModerator.value || isStudent.value || isEvaluator.value
})
const canCreateBatch = computed(() => {
return isModerator.value || isEvaluator.value
})
</script>