From 48389f4b2873c4ee4b5340d27a8233ab41f614ae Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Fri, 2 Jan 2026 19:49:06 +0700 Subject: [PATCH] refactor: replace `WithMediaHandler` trait with `WithAppendColumn` in `BottlesTable` component --- app/Livewire/Datatable/Catalog/BottlesTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Datatable/Catalog/BottlesTable.php b/app/Livewire/Datatable/Catalog/BottlesTable.php index fac9696..300557a 100644 --- a/app/Livewire/Datatable/Catalog/BottlesTable.php +++ b/app/Livewire/Datatable/Catalog/BottlesTable.php @@ -3,9 +3,9 @@ namespace App\Livewire\Datatable\Catalog; use App\Models\Bottle; +use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithConfiguration; use App\Traits\Datatable\WithPrependColumn; -use App\Traits\Media\WithMediaHandler; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Facades\Blade; use Rappasoft\LaravelLivewireTables\DataTableComponent; @@ -15,7 +15,7 @@ class BottlesTable extends DataTableComponent { - use WithConfiguration, WithMediaHandler, WithPrependColumn; + use WithAppendColumn, WithConfiguration, WithPrependColumn; protected $model = Bottle::class;