fix: misc ui issues

This commit is contained in:
Jannat Patel
2025-05-13 20:04:39 +05:30
parent 0a71620046
commit da4f134095
11 changed files with 58 additions and 41 deletions

View File

@@ -358,9 +358,8 @@ watch(tabIndex, () => {
const canMakeAnnouncement = () => {
if (readOnlyMode) return false
if (!batch.data?.students?.length)
return false
if (!batch.data?.students?.length) return false
return user.data?.is_moderator || user.data?.is_evaluator
}