Merge pull request #538 from shikorism/fix/degrade-profile-stats
プロフィールページの概況が消えていたのを修正
This commit is contained in:
commit
ea1483a90a
@ -13,6 +13,14 @@
|
||||
@if (Route::currentRouteName() === 'user.profile')
|
||||
@component('components.profile-bio', ['user' => $user])
|
||||
@endcomponent
|
||||
@if (!$user->is_protected || $user->isMe())
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
@component('components.profile-stats', ['user' => $user])
|
||||
@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if (!empty($tags) && (!$user->is_protected || $user->isMe()))
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
|
Loading…
Reference in New Issue
Block a user