feat(users): remove roles from profile view

This commit is contained in:
Miguel Nogueira 2022-09-02 10:49:57 +01:00
parent 6ae7de3094
commit 949f94bb5d
No known key found for this signature in database
GPG Key ID: 3C6A7E29AF26D370
2 changed files with 0 additions and 13 deletions

View File

@ -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 {

View File

@ -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>