commit
f8f9ed86dc
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue