diff --git a/frontend/src/components/DiscussionSideBarElement.vue b/frontend/src/components/DiscussionSideBarElement.vue
index 37592638..4b24fce4 100644
--- a/frontend/src/components/DiscussionSideBarElement.vue
+++ b/frontend/src/components/DiscussionSideBarElement.vue
@@ -1,44 +1,27 @@
-
+
{{ path.title }}
diff --git a/frontend/src/components/DiscussionsSideBar.vue b/frontend/src/components/DiscussionsSideBar.vue
index 58f148e6..7f417e1c 100644
--- a/frontend/src/components/DiscussionsSideBar.vue
+++ b/frontend/src/components/DiscussionsSideBar.vue
@@ -5,17 +5,21 @@
import { useI18n } from "vue-i18n";
import { useGetAllLearningPaths } from "@/queries/learning-paths.ts";
import { ref, watch } from "vue";
+ import { useRoute } from 'vue-router';
const { t, locale } = useI18n();
+ const route = useRoute();
const navigationDrawerShown = ref(true);
const currentLocale = ref(locale.value);
+ const expanded = ref([route.params.hruid])
watch(locale, (newLocale) => {
currentLocale.value = newLocale;
});
const allLearningPathsResult = useGetAllLearningPaths(() => currentLocale.value);
+
@@ -31,7 +35,9 @@
-
+