From 2c3ee88e137c46b3d6962a25d98ff0c6c7cc0f98 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sun, 21 Sep 2025 20:44:30 +0100 Subject: [PATCH] chore: move course analytics a step after content --- .../Course/components/Navigation/index.svelte | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/dashboard/src/lib/components/Course/components/Navigation/index.svelte b/apps/dashboard/src/lib/components/Course/components/Navigation/index.svelte index 7a3bb526..c37f247c 100644 --- a/apps/dashboard/src/lib/components/Course/components/Navigation/index.svelte +++ b/apps/dashboard/src/lib/components/Course/components/Navigation/index.svelte @@ -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'),