Fix typecheck error
This commit is contained in:
parent
0cbce3c42b
commit
4f28d72213
|
|
@ -15,7 +15,7 @@ const competenceStore = useCompetenceStore();
|
||||||
<router-link
|
<router-link
|
||||||
v-if="competenceStore.competenceProfilePage()"
|
v-if="competenceStore.competenceProfilePage()"
|
||||||
class="btn-text inline-flex items-center pl-0"
|
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 />
|
<it-icon-arrow-left />
|
||||||
<span>{{ $t("general.back") }}</span>
|
<span>{{ $t("general.back") }}</span>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ const createContinueUrl = (learningPath: LearningPath): [string, boolean] => {
|
||||||
<Teleport to="body">
|
<Teleport to="body">
|
||||||
<LearningPathViewVertical
|
<LearningPathViewVertical
|
||||||
:show="learningPathStore.page === 'OVERVIEW'"
|
:show="learningPathStore.page === 'OVERVIEW'"
|
||||||
:learning-path-slug="props.learningPathSlug + '-lp'"
|
:learning-path-slug="props.courseSlug + '-lp'"
|
||||||
@closemodal="learningPathStore.page = 'INDEX'"
|
@closemodal="learningPathStore.page = 'INDEX'"
|
||||||
/>
|
/>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue