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>
|
</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) },
|
||||||
|
Loading…
Reference in New Issue
Block a user