@ -17,7 +17,7 @@ class UserController extends Controller
{
$tables = $user->tables()
->with('revision:id,row_count')
->paginate(3);
->paginate(10);
return view('user.view')->with(compact('tables', 'user'));
}
@ -76,11 +76,9 @@
@endif
</span>
@if ($tables->hasPages())
<nav class="ml-auto" aria-label="Pages of the table list">
{{ $tables->links(null, ['ulClass' => 'pagination-sm mb-0 pagination-outline-light']) }}
</nav>
@if(authed() && user()->is($user))
<a href="{{route('table.create')}}" class="btn ml-3">New</a>