row undos
This commit is contained in:
@@ -79,7 +79,19 @@ class TableEditController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
// TODO other tab handlers
|
||||
/** @noinspection PhpUnusedPrivateMethodInspection */
|
||||
private function addRows(Changeset $changeset)
|
||||
{
|
||||
$columns = $changeset->fetchAndTransformColumns();
|
||||
$rows = $changeset->getAddedRows(25);
|
||||
|
||||
return view('table.propose.add-rows', [
|
||||
'changeset' => $changeset,
|
||||
'table' => $changeset->table,
|
||||
'columns' => collect($columns),
|
||||
'rows' => $rows,
|
||||
]);
|
||||
}
|
||||
|
||||
public function draftUpdate(User $user, string $table, Request $request)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user