Action link not for all
This commit is contained in:
parent
91ee3e605b
commit
7473923dac
|
|
@ -52,9 +52,17 @@ const { loading: loadingPersons, dashboardPersons } = useDashboardPersons();
|
|||
</div>
|
||||
<div class="md:w-1/4">
|
||||
<div>{{ cs.user_role }}</div>
|
||||
<div>my role: {{ cs.my_role }}</div>
|
||||
</div>
|
||||
<div class="md:w-1/4 md:text-right">
|
||||
<div>
|
||||
<div
|
||||
v-if="
|
||||
(['SUPERVISOR', 'EXPERT'].includes(cs.my_role) &&
|
||||
cs.user_role === 'MEMBER') ||
|
||||
(cs.my_role === 'LEARNING_MENTOR' &&
|
||||
cs.user_role === 'LEARNING_MENTEE')
|
||||
"
|
||||
>
|
||||
<router-link
|
||||
:to="{
|
||||
name: 'profileLearningPath',
|
||||
|
|
|
|||
Loading…
Reference in New Issue