Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
pilar
pilar-web
Commits
23fadc1c
Commit
23fadc1c
authored
Mar 22, 2021
by
FadhilP
Browse files
[REFACTOR] Fix edit produk page not showing
parent
5e81e653
Pipeline
#64822
passed with stages
in 2 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/page/produk/FormProduk.jsx
View file @
23fadc1c
...
...
@@ -22,7 +22,7 @@ const FormProduk = ({ onSubmit, initialData = null }) => {
subcategory
:
initialData
[
"
subcategory
"
],
description
:
initialData
[
"
description
"
],
price
:
initialData
[
"
price
"
].
split
(
"
.
"
)[
0
],
stock
:
initialData
[
"
stock
"
]
.
split
(
"
.
"
)[
0
]
,
stock
:
initialData
[
"
stock
"
],
modal
:
initialData
[
"
modal
"
].
split
(
"
.
"
)[
0
],
}
:
{},
...
...
Write
Preview
Supports
Markdown
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