fix: misc issues

This commit is contained in:
Jannat Patel
2024-11-04 09:54:53 +05:30
parent 8f6f35d7c1
commit 634035fbc0
12 changed files with 108 additions and 71 deletions

View File

@@ -236,7 +236,7 @@ const breadcrumbs = computed(() => {
const isStudent = computed(() => {
return (
user?.data &&
batch.data?.students.length &&
batch.data?.students?.length &&
batch.data?.students.includes(user.data.name)
)
})