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
27020835
Commit
27020835
authored
Jul 16, 2024
by
Thidaporn Laisan
Browse files
update edit parameter
parent
00cf7ee2
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Livewire/Pages/Parameter/ParameterCreate.php
View file @
27020835
...
@@ -57,6 +57,6 @@ class ParameterCreate extends Component
...
@@ -57,6 +57,6 @@ class ParameterCreate extends Component
public
function
loadPage
(
$page
)
public
function
loadPage
(
$page
)
{
{
$this
->
action
=
$page
;
$this
->
action
=
$page
;
$this
->
parameters
=
ConfParameter
::
all
();
//
$this->parameters = ConfParameter::all();
}
}
}
}
app/Http/Livewire/Pages/Parameter/ParameterIndex.php
View file @
27020835
...
@@ -121,6 +121,6 @@ class ParameterIndex extends Component
...
@@ -121,6 +121,6 @@ class ParameterIndex extends Component
public
function
loadPage
(
$page
)
public
function
loadPage
(
$page
)
{
{
$this
->
action
=
$page
;
$this
->
action
=
$page
;
$this
->
parameters
=
ConfParameter
::
all
();
//
$this->parameters = ConfParameter::all();
}
}
}
}
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