wip
This commit is contained in:
1 parent
825a8d430c
commit
53b43953f4
1 file changed
+5
-1
@@ -17,6 +17,7 @@ class MultilinesTable
|
|||||||
public static function configure(Table $table): Table
|
public static function configure(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
|
->paginated(false)
|
||||||
->reorderRecordsTriggerAction(
|
->reorderRecordsTriggerAction(
|
||||||
fn (Action $action, bool $isReordering) => $action
|
fn (Action $action, bool $isReordering) => $action
|
||||||
->button()
|
->button()
|
||||||
@@ -49,7 +50,10 @@ class MultilinesTable
|
|||||||
], FiltersLayout::AboveContent)
|
], FiltersLayout::AboveContent)
|
||||||
->hiddenFilterIndicators()
|
->hiddenFilterIndicators()
|
||||||
->persistFiltersInSession()
|
->persistFiltersInSession()
|
||||||
->recordActions([
|
->headerActions([
|
||||||
|
Action::make('generate')
|
||||||
|
->icon('phosphor-gear-fine')
|
||||||
|
->requiresConfirmation(),
|
||||||
// EditAction::make()
|
// EditAction::make()
|
||||||
// ->mutateDataUsing(function (array $data): array {
|
// ->mutateDataUsing(function (array $data): array {
|
||||||
// $data['client_id'] = auth()->user()->client_id;
|
// $data['client_id'] = auth()->user()->client_id;
|
||||||
|
|||||||
Reference in new issue
Block a user