Merged in fix/expert-id (pull request #376)

Fix/expert id
This commit is contained in:
Christian Cueni 2024-08-21 18:08:59 +00:00
commit f8f9ed86dc
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ interface Expert {
interface Mentor { interface Mentor {
id: number; id: number;
mentor: Expert; agent: Expert;
} }
const experts = computed<Expert[] | null>(() => { const experts = computed<Expert[] | null>(() => {
@ -110,7 +110,7 @@ const experts = computed<Expert[] | null>(() => {
return circleExperts.value; return circleExperts.value;
} else { } else {
if (mentors.value?.length > 0) { if (mentors.value?.length > 0) {
return mentors.value.map((m: Mentor) => m.mentor); return mentors.value.map((m: Mentor) => m.agent);
} }
} }
} }