diff --git a/src/components/sidebar/Sidebar.tsx b/src/components/sidebar/Sidebar.tsx index c36ba88..1f356ef 100644 --- a/src/components/sidebar/Sidebar.tsx +++ b/src/components/sidebar/Sidebar.tsx @@ -75,12 +75,11 @@ const navEntries: NavEntry[] = [ { kind: "group", label: "Content", - basePath: "/content", - activePaths: ["/content", "/new-content"], + basePath: "/new-content", + activePaths: ["/new-content"], icon: BookOpen, children: [ - { label: "Manage practices", to: "/content", end: true }, - { label: "New content", to: "/new-content", end: true }, + { label: "Learning content", to: "/new-content", end: true }, { label: "Reorder structure", to: "/new-content/reorder" }, { label: "Question types", to: "/new-content/question-types" }, ], diff --git a/src/pages/user-management/components/UserLearningActivitySection.tsx b/src/pages/user-management/components/UserLearningActivitySection.tsx index 1bdf94e..cddf7f0 100644 --- a/src/pages/user-management/components/UserLearningActivitySection.tsx +++ b/src/pages/user-management/components/UserLearningActivitySection.tsx @@ -82,7 +82,7 @@ function LessonRow({ lesson }: { lesson: LearningActivityLesson }) { } function ModuleBlock({ module }: { module: LearningActivityModule }) { - const [open, setOpen] = useState(module.access.is_accessible || module.access.is_completed); + const [open, setOpen] = useState(false); return (