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