diff --git a/client/src/views/LearningPathView.vue b/client/src/views/LearningPathView.vue
index 902856ba..90f9717e 100644
--- a/client/src/views/LearningPathView.vue
+++ b/client/src/views/LearningPathView.vue
@@ -7,7 +7,7 @@ import { useUserStore } from '@/stores/user'
import LearningPathDiagram from '@/components/circle/LearningPathDiagram.vue'
import LearningPathViewVertical from '@/views/LearningPathViewVertical.vue'
-import { LearningPath } from '@/services/learningPath'
+import type { LearningPath } from '@/services/learningPath'
log.debug('LearningPathView created')
@@ -28,7 +28,7 @@ onMounted(async () => {
}
})
-const createContinueUrl = (learningPath: LearningPath) => {
+const createContinueUrl = (learningPath: LearningPath): [string, boolean] => {
if (learningPath.nextLearningContent) {
const circle = learningPath.nextLearningContent.parentCircle
const lsShortSlug = learningPath.nextLearningContent.parentLearningSequence?.slug.replace(`${circle.slug}-`, '')
@@ -77,14 +77,14 @@ const createContinueUrl = (learningPath: LearningPath) => {
class="bg-white m-6 lg:m-12 p-8 flex flex-col lg:flex-row divide-y lg:divide-y-0 lg:divide-x divide-gray-500 justify-start"
>
-
Willkommmen zurück, {{ userStore.first_name }}
+
Willkommmen zurück, {{ userStore.first_name }}
-
+
Nächster Schritt
{{ learningPathStore.learningPath.nextLearningContent.parentCircle.title }}:
- {{ learningPathStore.learningPath.nextLearningContent.parentLearningSequence.title }}
+ {{ learningPathStore.learningPath.nextLearningContent.parentLearningSequence?.title }}