From f4421d362cacf00612ed461c09ca2e181f655f01 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 15 Jan 2025 16:15:04 +0530 Subject: [PATCH] fix: batch list responsive cards --- frontend/src/pages/Batches.vue | 43 +++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/frontend/src/pages/Batches.vue b/frontend/src/pages/Batches.vue index f2868bb4..adc0930a 100644 --- a/frontend/src/pages/Batches.vue +++ b/frontend/src/pages/Batches.vue @@ -19,34 +19,44 @@
-
+
{{ __('All Batches') }}
-
+
- -
- +
-
+
{ orderBy.value = 'start_date desc' if (currentTab.value == 'Upcoming') { filters.value['start_date'] = ['>=', dayjs().format('YYYY-MM-DD')] + filters.value['published'] = 1 orderBy.value = 'start_date' } else if (currentTab.value == 'Archived') { filters.value['start_date'] = ['<', dayjs().format('YYYY-MM-DD')]