Skip to content

Commit f1e86e1

Browse files
committed
Configure on boot!
1 parent cb476bb commit f1e86e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataTableComponent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ public function boot(): void
6868
'filters' => $this->{$this->tableName}['filters'] ?? [],
6969
'columns' => $this->{$this->tableName}['columns'] ?? [],
7070
];
71-
71+
7272
// Set the filter defaults based on the filter type
7373
$this->setFilterDefaults();
74+
$this->configure();
7475
}
7576

7677
/**
7778
* Runs on every request, after the component is mounted or hydrated, but before any update methods are called
7879
*/
7980
public function booted(): void
8081
{
81-
$this->configure();
8282
$this->setTheme();
8383
$this->setBuilder($this->builder());
8484
$this->setColumns();

0 commit comments

Comments
 (0)