chore: move course analytics a step after content
This commit is contained in:
@@ -158,16 +158,6 @@
|
|||||||
return isStudent ? $currentOrg.customization.course.newsfeed : true;
|
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,
|
id: NAV_IDS.LESSONS,
|
||||||
label: $t('course.navItems.nav_content'),
|
label: $t('course.navItems.nav_content'),
|
||||||
@@ -182,6 +172,16 @@
|
|||||||
})),
|
})),
|
||||||
isExpanded: isStudent ? true : $page.url.pathname.includes('/lessons')
|
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,
|
id: NAV_IDS.ATTENDANCE,
|
||||||
label: $t('course.navItems.nav_attendance'),
|
label: $t('course.navItems.nav_attendance'),
|
||||||
|
|||||||
Reference in New Issue
Block a user