feat(users): remove roles from profile view
This commit is contained in:
parent
6ae7de3094
commit
949f94bb5d
@ -79,7 +79,6 @@ class ProfileController extends Controller
|
||||
$createdDate = Carbon::parse($user->created_at);
|
||||
|
||||
|
||||
|
||||
$suspensionInfo = null;
|
||||
if ($accountSuspensionService->isSuspended($user))
|
||||
{
|
||||
@ -101,7 +100,6 @@ class ProfileController extends Controller
|
||||
'discord' => $socialMediaProfiles['links']['discord'] ?? 'UpdateMe#12345',
|
||||
'since' => $createdDate->englishMonth.' '.$createdDate->year,
|
||||
'ipInfo' => IP::lookup($user->currentIp),
|
||||
'roles' => $roleList,
|
||||
'suspensionInfo' => $suspensionInfo
|
||||
]);
|
||||
} else {
|
||||
|
@ -72,17 +72,6 @@
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-center">
|
||||
|
||||
@foreach ($profile->user->roles as $role)
|
||||
|
||||
<span class="badge badge-success mr-2">{{ucfirst($role->name)}}</span>
|
||||
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user