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:
parent
4d7281e9e0
commit
5ef50766b1
|
@ -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) },
|
||||
|
|
Loading…
Reference in a new issue