Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
4301ad89
Commit
4301ad89
authored
Jul 23, 2024
by
Thidaporn Laisan
Browse files
no message
parent
549d68bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Livewire/MainContainer.php
View file @
4301ad89
...
@@ -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
;
...
...
app/Http/Livewire/Navbar.php
View file @
4301ad89
...
@@ -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'
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment