From 563897d96b6fcc533bd6bfcb6ce2c7478f16aadc Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Tue, 20 Aug 2024 12:58:04 +0200 Subject: [PATCH 1/2] Quickfix expert id error --- .../learningPath/circlePage/CirclePage.vue | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/client/src/pages/learningPath/circlePage/CirclePage.vue b/client/src/pages/learningPath/circlePage/CirclePage.vue index 1972d396..18b72496 100644 --- a/client/src/pages/learningPath/circlePage/CirclePage.vue +++ b/client/src/pages/learningPath/circlePage/CirclePage.vue @@ -255,26 +255,26 @@ watch( }} -
- -
- {{ expert.first_name }} {{ expert.last_name }} - - {{ expert.email }} - -
-
+ + + + + + + + + + + + + + + + + + + + From 9779c96d74cca6f144381d9cfd07724b9ef87c5d Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Tue, 20 Aug 2024 16:55:14 +0200 Subject: [PATCH 2/2] Fix mentor for real --- .../learningPath/circlePage/CirclePage.vue | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/client/src/pages/learningPath/circlePage/CirclePage.vue b/client/src/pages/learningPath/circlePage/CirclePage.vue index 18b72496..6824d277 100644 --- a/client/src/pages/learningPath/circlePage/CirclePage.vue +++ b/client/src/pages/learningPath/circlePage/CirclePage.vue @@ -100,7 +100,7 @@ interface Expert { interface Mentor { id: number; - mentor: Expert; + agent: Expert; } const experts = computed(() => { @@ -110,7 +110,7 @@ const experts = computed(() => { return circleExperts.value; } else { if (mentors.value?.length > 0) { - return mentors.value.map((m: Mentor) => m.mentor); + return mentors.value.map((m: Mentor) => m.agent); } } } @@ -255,26 +255,26 @@ watch( }} - - - - - - - - - - - - - - - - - - - - +
+ +
+ {{ expert.first_name }} {{ expert.last_name }} + + {{ expert.email }} + +
+