chore: move course analytics a step after content
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user