chore: move course analytics a step after content

This commit is contained in:
Rotimi Best
2025-09-21 20:44:30 +01:00
parent 6d68351a46
commit 2c3ee88e13
@@ -158,16 +158,6 @@
return isStudent ? $currentOrg.customization.course.newsfeed : true;
}
},
{
id: NAV_IDS.ANALYTICS,
label: $t('course.navItems.nav_analytics'),
to: getNavItemRoute($course.id, 'analytics'),
isPaidFeature: false,
hideSortIcon: true,
show() {
return !isStudent;
}
},
{
id: NAV_IDS.LESSONS,
label: $t('course.navItems.nav_content'),
@@ -182,6 +172,16 @@
})),
isExpanded: isStudent ? true : $page.url.pathname.includes('/lessons')
},
{
id: NAV_IDS.ANALYTICS,
label: $t('course.navItems.nav_analytics'),
to: getNavItemRoute($course.id, 'analytics'),
isPaidFeature: false,
hideSortIcon: true,
show() {
return !isStudent;
}
},
{
id: NAV_IDS.ATTENDANCE,
label: $t('course.navItems.nav_attendance'),