diff --git a/app/Livewire/Datatable/CategoriesTable.php b/app/Livewire/Datatable/CategoriesTable.php index eac30fc..8575328 100644 --- a/app/Livewire/Datatable/CategoriesTable.php +++ b/app/Livewire/Datatable/CategoriesTable.php @@ -28,6 +28,7 @@ public function columns(): array if ($row->sort_order > 1) { $actions .= view('components.datatables.sort-button', [ 'id' => $row->id, + 'module' => 'category', 'direction' => 'up', 'tooltip' => 'Naik', 'color' => 'cyan', @@ -36,6 +37,7 @@ public function columns(): array $actions .= view('components.datatables.sort-button', [ 'id' => $row->id, + 'module' => 'category', 'direction' => 'first', 'tooltip' => 'Pertama', 'color' => 'emerald', @@ -46,6 +48,7 @@ public function columns(): array if ($row->sort_order < $maxSortOrder) { $actions .= view('components.datatables.sort-button', [ 'id' => $row->id, + 'module' => 'category', 'direction' => 'down', 'tooltip' => 'Turun', 'color' => 'orange', @@ -54,6 +57,7 @@ public function columns(): array $actions .= view('components.datatables.sort-button', [ 'id' => $row->id, + 'module' => 'category', 'direction' => 'last', 'tooltip' => 'Terakhir', 'color' => 'rose',