プロフィールページの概況が消えていたのを修正

This commit is contained in:
shibafu 2020-10-26 00:22:06 +09:00
parent 32398fea73
commit 7e7d0f80c1

View File

@ -13,6 +13,14 @@
@if (Route::currentRouteName() === 'user.profile') @if (Route::currentRouteName() === 'user.profile')
@component('components.profile-bio', ['user' => $user]) @component('components.profile-bio', ['user' => $user])
@endcomponent @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())) @if (!empty($tags) && (!$user->is_protected || $user->isMe()))
<div class="card mb-4"> <div class="card mb-4">
<div class="card-header"> <div class="card-header">