From a24afad641f130a22ec1ce90214574e56c9a526f Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Wed, 12 Mar 2025 14:36:07 +0530 Subject: [PATCH] chore: more dead code --- frontend/src/pages/Batches.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/frontend/src/pages/Batches.vue b/frontend/src/pages/Batches.vue index dc897072..788f1f4f 100644 --- a/frontend/src/pages/Batches.vue +++ b/frontend/src/pages/Batches.vue @@ -271,18 +271,6 @@ watch(currentTab, () => { updateBatches() }) -const batchType = computed(() => { - let types = [ - { label: __(''), value: null }, - { label: __('Upcoming'), value: 'Upcoming' }, - { label: __('Archived'), value: 'Archived' }, - ] - if (user.data?.is_moderator) { - types.push({ label: __('Unpublished'), value: 'Unpublished' }) - } - return types -}) - const batchTabs = computed(() => { let tabs = [ {