Redo user comments list
This commit is contained in:
@@ -38,7 +38,7 @@ class UserComments extends Component
|
||||
$comments = Comment::where('user_id', $this->model->id)
|
||||
->when($this->commentSearch != '', fn ($query) => $query->where('body', 'like', '%'.$this->commentSearch.'%'))
|
||||
->orderBy($orderby, $orderdirection)
|
||||
->paginate(10);
|
||||
->paginate(6);
|
||||
|
||||
return view('livewire.user-comments', [
|
||||
'comments' => $comments,
|
||||
|
||||
Reference in New Issue
Block a user