From 5148fcf25b30ed88a086f89f9fb8c932182c5401 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 16 May 2024 12:53:14 +0530 Subject: [PATCH] fix: batch related issues --- frontend/src/components/BatchCourses.vue | 8 +++++++- frontend/src/pages/Batches.vue | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/BatchCourses.vue b/frontend/src/components/BatchCourses.vue index 7d644eb8..da31db76 100644 --- a/frontend/src/components/BatchCourses.vue +++ b/frontend/src/components/BatchCourses.vue @@ -20,7 +20,13 @@ :columns="getCoursesColumns()" :rows="courses.data" row-key="batch_course" - :options="{ showTooltip: false }" + :options="{ + showTooltip: false, + getRowRoute: (row) => ({ + name: 'CourseDetail', + params: { courseName: row.name }, + }), + }" >