Fix typecheck error

This commit is contained in:
Daniel Egger 2022-12-02 17:59:02 +01:00
parent 0cbce3c42b
commit 4f28d72213
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ const competenceStore = useCompetenceStore();
<router-link
v-if="competenceStore.competenceProfilePage()"
class="btn-text inline-flex items-center pl-0"
:to="competenceStore.competenceProfilePage()?.frontend_url"
:to="competenceStore.competenceProfilePage()?.frontend_url as string"
>
<it-icon-arrow-left />
<span>{{ $t("general.back") }}</span>

View File

@ -49,7 +49,7 @@ const createContinueUrl = (learningPath: LearningPath): [string, boolean] => {
<Teleport to="body">
<LearningPathViewVertical
:show="learningPathStore.page === 'OVERVIEW'"
:learning-path-slug="props.learningPathSlug + '-lp'"
:learning-path-slug="props.courseSlug + '-lp'"
@closemodal="learningPathStore.page = 'INDEX'"
/>
</Teleport>