Skip to content

Commit

Permalink
fix: create table error (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl authored Jan 8, 2024
1 parent c016f1e commit b48e686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Controllers/CmsEditor/CmsEditorTableController.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public function create(FormDataRequest $request)
$action = new Redirect('/app/editor/table/'.$tableId);
$response->addAction($action);

$table->exportToFile();
$tableModel = Table::find($tableId);
$tableModel->exportToFile();

return $response->build();
}
Expand Down

0 comments on commit b48e686

Please sign in to comment.