Add back RSS/ical links on public group pages

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-07-21 10:45:42 +02:00
parent f30d74f2c0
commit 7ca7c132fb
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 5 additions and 3 deletions

View File

@ -172,7 +172,6 @@
</b-button> </b-button>
<b-dropdown <b-dropdown
class="menu-dropdown" class="menu-dropdown"
v-if="isCurrentActorAGroupMember || previewPublic"
position="is-bottom-left" position="is-bottom-left"
aria-role="menu" aria-role="menu"
> >
@ -183,13 +182,16 @@
icon-left="dots-horizontal" icon-left="dots-horizontal"
aria-label="Other actions" aria-label="Other actions"
/> />
<b-dropdown-item aria-role="menuitem"> <b-dropdown-item
aria-role="menuitem"
v-if="isCurrentActorAGroupMember || previewPublic"
>
<b-switch v-model="previewPublic">{{ <b-switch v-model="previewPublic">{{
$t("Public preview") $t("Public preview")
}}</b-switch> }}</b-switch>
</b-dropdown-item> </b-dropdown-item>
<b-dropdown-item <b-dropdown-item
v-if="!previewPublic" v-if="!previewPublic && isCurrentActorAGroupMember"
aria-role="menuitem" aria-role="menuitem"
@click="triggerShare()" @click="triggerShare()"
> >