Fixing some examples

This commit is contained in:
David
2025-05-03 01:57:26 -04:00
parent 9f12bc28d0
commit d64e9c00be
13 changed files with 132 additions and 29 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Tables;
use App\Models\Product;
use App\Models\Department;
use Mmt\GenericTable\Components\Column;
use Mmt\GenericTable\Components\ColumnCollection;
use Mmt\GenericTable\Interfaces\IDragDropReordering;
@@ -24,6 +24,6 @@ class DepartmentTable implements IGenericTable, IDragDropReordering
$columns->add(new Column("Status"));
$columns->add(new Column("Order")->sortable()->defaultSortDesc());
$this->tableSettings = new GenericTableSettings(new Product(), $columns);
$this->tableSettings = new GenericTableSettings(new Department(), $columns);
}
}