fix: misc batch issues

This commit is contained in:
Jannat Patel
2025-02-13 16:57:21 +05:30
parent 15a12d2518
commit 5ab9131629
10 changed files with 80 additions and 53 deletions

View File

@@ -127,6 +127,11 @@ const batch = createResource({
batch: props.batchName,
},
auto: true,
onSuccess: (data) => {
if (!data) {
router.push({ name: 'Batches' })
}
},
})
const courses = createResource({