summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-04-02 22:23:51 +0100
committerSam Light <samlight1994@gmail.com>2025-04-02 22:23:51 +0100
commite73b21ab36a00f012baf3076e9bd0fc1ab84036c (patch)
tree5b578d019f3df860f8690cbb9ad489b5a964a564
parent92c1347350f4d6b234fd5f54b4c3baaf7160bccf (diff)
Updated adding toolbar items to prepend and append
-rw-r--r--workbench/app/Livewire/ProductsTable.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/workbench/app/Livewire/ProductsTable.php b/workbench/app/Livewire/ProductsTable.php
index 9717b5d..a9e128b 100644
--- a/workbench/app/Livewire/ProductsTable.php
+++ b/workbench/app/Livewire/ProductsTable.php
@@ -31,10 +31,10 @@ class ProductsTable extends Table
);
return parent::toolbar()
- ->addStartItem(Search::make())
- ->addStartItem($categoryFilter)
- ->addEndItem(PageSize::make())
- ->addEndItem(ColumnSelect::make());
+ ->appendStartItem(Search::make())
+ ->appendStartItem($categoryFilter)
+ ->appendEndItem(PageSize::make())
+ ->appendEndItem(ColumnSelect::make());
}
public function query(): Builder