Don't link to the group page from admin when actor is suspended

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-09-30 09:25:44 +02:00
parent 4d7281e9e0
commit 5ef50766b1
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -27,7 +27,16 @@
</ul>
</nav>
<div class="actor-card">
<p v-if="group.suspended">
<actor-card
:actor="group"
:full="true"
:popover="false"
:limit="false"
/>
</p>
<router-link
v-else
:to="{
name: RouteName.GROUP,
params: { preferredUsername: usernameWithDomain(group) },