refactor: replace WithMediaHandler trait with WithAppendColumn in BottlesTable component

This commit is contained in:
Yoga Pangestu 2026-01-02 19:49:06 +07:00
parent 967a1633ec
commit 48389f4b28

View File

@ -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;