Fixing some examples
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user