chore: remove dead code

This commit is contained in:
Hussain Nagaria
2025-03-12 14:31:53 +05:30
parent 5b3c0685ac
commit abd14aa33c

View File

@@ -276,21 +276,6 @@ watch(currentTab, () => {
updateCourses()
})
const courseType = computed(() => {
let types = [
{ label: __(''), value: null },
{ label: __('New'), value: 'New' },
{ label: __('Upcoming'), value: 'Upcoming' },
]
if (user.data?.is_student) {
types.push({ label: __('Enrolled'), value: 'Enrolled' })
}
if (user.data?.is_moderator || user.data?.is_instructor) {
types.push({ label: __('Created'), value: 'Created' })
}
return types
})
const courseTabs = computed(() => {
let tabs = [
{