Skip to content

Commit a49e680

Browse files
committed
Add Contitional trait to table
1 parent b8f89e3 commit a49e680

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

php/InertiaTable.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
use Illuminate\Support\Collection;
88
use Illuminate\Support\Str;
99
use Inertia\Response;
10+
use Illuminate\Support\Traits\Conditionable;
1011

1112
class InertiaTable
1213
{
14+
use Conditionable;
15+
1316
private string $name = 'default';
1417
private string $pageName = 'page';
1518
private array $perPageOptions = [15, 30, 50, 100];

0 commit comments

Comments
 (0)