fix: properly check for banned user in profile
This commit is contained in:
parent
667425e4e3
commit
6ae7de3094
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
<div class="card-body text-center">
|
<div class="card-body text-center">
|
||||||
|
|
||||||
@if ($profile->user->isBanned())
|
@if (is_array($suspensionInfo))
|
||||||
<del><h3>{{$profile->user->name}}</h3></del>
|
<del><h3>{{$profile->user->name}}</h3></del>
|
||||||
@else
|
@else
|
||||||
<h3>{{$profile->user->name}}</h3>
|
<h3>{{$profile->user->name}}</h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user