feat: new tab and other misc fixes

This commit is contained in:
Jannat Patel
2024-04-17 10:36:48 +05:30
parent 255990b022
commit b98f6369ae
10 changed files with 71 additions and 15 deletions

View File

@@ -126,6 +126,11 @@ const tabs = [
courses: computed(() => courses.data?.live || []),
count: computed(() => courses.data?.live?.length),
},
{
label: 'New',
courses: computed(() => courses.data?.new),
count: computed(() => courses.data?.new?.length),
},
{
label: 'Upcoming',
courses: computed(() => courses.data?.upcoming),