From ff2c16fe745c97f5a9d7cf4bfa23eded6a898743 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 16 Jul 2023 04:23:41 -0600 Subject: [PATCH] Update admin user view, improve previews --- resources/views/admin/users/show.blade.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/users/show.blade.php b/resources/views/admin/users/show.blade.php index 1a482467e..f55c1dac3 100644 --- a/resources/views/admin/users/show.blade.php +++ b/resources/views/admin/users/show.blade.php @@ -140,10 +140,15 @@

Recent Posts


- @foreach($profile->statuses()->whereHas('media')->latest()->take(9)->get() as $item) -
+ @foreach($profile->statuses()->whereHas('media')->latest()->take(16)->get() as $item) + @php($post = \App\Services\StatusService::get($item->id, false)) + @endforeach