Commit 4301ad89 authored by Thidaporn Laisan's avatar Thidaporn Laisan
Browse files

no message

parent 549d68bd
...@@ -6,7 +6,7 @@ use Livewire\Component; ...@@ -6,7 +6,7 @@ use Livewire\Component;
class MainContainer extends Component class MainContainer extends Component
{ {
public $currentContent = 'SendMultiPatch'; public $currentContent = 'Exchangerate';
public $loading = false; public $loading = false;
public $pagePaginate = 1; public $pagePaginate = 1;
......
...@@ -6,15 +6,17 @@ use Livewire\Component; ...@@ -6,15 +6,17 @@ use Livewire\Component;
class Navbar extends Component class Navbar extends Component
{ {
public $currentMenu = 'Patch'; public $currentMenu = 'Exchangerate';
public function loadContent($menu) public function loadContent($menu)
{ {
$this->currentMenu = $menu; $this->currentMenu = $menu;
$this->emit('menuChanged', $menu); $this->emit('menuChanged', $menu);
} }
public function render() public function render()
{ {
return view('livewire.navbar'); return view('livewire.navbar');
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment