Fix title, add basic link to persons
This commit is contained in:
parent
e0b4a045ce
commit
db7fbdd03a
|
|
@ -156,6 +156,7 @@ function hasActionButton(): boolean {
|
|||
<MentorMenteeCount
|
||||
v-if="hasWidget('MentorPersonWidget')"
|
||||
:course-id="courseConfig.course_id"
|
||||
:course-slug="courseConfig?.course_slug"
|
||||
/>
|
||||
<MentorCompetenceSummary
|
||||
v-if="hasWidget('MentorCompetenceWidget')"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import BaseBox from "@/components/dashboard/BaseBox.vue";
|
|||
|
||||
const props = defineProps<{
|
||||
courseId: string;
|
||||
courseSlug: string;
|
||||
}>();
|
||||
|
||||
const menteeCount: Ref<number> = ref(0);
|
||||
|
|
@ -18,8 +19,11 @@ onMounted(async () => {
|
|||
|
||||
<template>
|
||||
<div class="w-[325px]">
|
||||
<BaseBox :details-link="'foo'" data-cy="dashboard.mentor.competenceSummary">
|
||||
<template #title>{{ $t("Elemente zu erledigen") }}</template>
|
||||
<BaseBox
|
||||
:details-link="`/dashboard/persons`"
|
||||
data-cy="dashboard.mentor.competenceSummary"
|
||||
>
|
||||
<template #title>{{ $t("Personen") }}</template>
|
||||
<template #content>
|
||||
<div class="flex flex-row space-x-3 bg-white pb-6">
|
||||
<div
|
||||
|
|
|
|||
Loading…
Reference in New Issue