fix(front): only show participants & announcements menu items to organizers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
89d1ee42f4
commit
c4d2ec69ad
|
@ -107,11 +107,7 @@
|
||||||
{{ t("Actions") }}
|
{{ t("Actions") }}
|
||||||
</o-button>
|
</o-button>
|
||||||
</template>
|
</template>
|
||||||
<o-dropdown-item
|
<o-dropdown-item aria-role="listitem" has-link v-if="canManageEvent">
|
||||||
aria-role="listitem"
|
|
||||||
has-link
|
|
||||||
v-if="canManageEvent || !event?.draft"
|
|
||||||
>
|
|
||||||
<router-link
|
<router-link
|
||||||
class="flex gap-1"
|
class="flex gap-1"
|
||||||
:to="{
|
:to="{
|
||||||
|
@ -123,11 +119,7 @@
|
||||||
{{ t("Participations") }}
|
{{ t("Participations") }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</o-dropdown-item>
|
</o-dropdown-item>
|
||||||
<o-dropdown-item
|
<o-dropdown-item aria-role="listitem" has-link v-if="canManageEvent">
|
||||||
aria-role="listitem"
|
|
||||||
has-link
|
|
||||||
v-if="canManageEvent || !event?.draft"
|
|
||||||
>
|
|
||||||
<router-link
|
<router-link
|
||||||
class="flex gap-1"
|
class="flex gap-1"
|
||||||
:to="{
|
:to="{
|
||||||
|
|
Loading…
Reference in a new issue