move back to static html pages vs full page volt components
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user