fix: validate course and batch before a reply is added

This commit is contained in:
Jannat Patel
2025-12-04 09:25:07 +05:30
parent 5f17802ab8
commit 0367c1db72
10 changed files with 75 additions and 26 deletions

View File

@@ -198,7 +198,6 @@ const seats_left = computed(() => {
})
const isStudent = computed(() => {
console.log(props.batch.data?.students)
return props.batch.data?.students?.includes(user.data?.name)
})