move back to static html pages vs full page volt components

This commit is contained in:
hackerESQ
2024-08-05 22:45:34 -05:00
parent 62aec3ce7c
commit c44aec5e04
2 changed files with 2 additions and 7 deletions
@@ -43,10 +43,7 @@ new class extends Component {
// $this->portfolio->owner_id = auth()->user()->id; // $this->portfolio->owner_id = auth()->user()->id;
$this->portfolio->save(); $this->portfolio->save();
$this->success('Portfolio updated'); $this->success('Portfolio updated', redirectTo: "/portfolio/{$this->portfolio->id}");
$this->dispatch('portfolio-updated', $this->portfolio);
$this->dispatch('close-drawer');
} }
public function save() public function save()
+1 -3
View File
@@ -74,9 +74,7 @@ new class extends Component {
}; ?> }; ?>
<x-app-layout> <x-app-layout>
<div > <div x-data>
<x-ib-drawer <x-ib-drawer
key="manage-portfolio" key="manage-portfolio"