Commit 2523da7a authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-dev(pc)' into 'master'

sizeupload

See merge request !363
parents c6b54dea d570018f
......@@ -73,7 +73,7 @@ export default class Parameter extends Component {
if (response.data) {
if (response.data.status === "success") {
this.setState({
sizeUpload: response.data.data[0].value
sizeUpload: response.data.data[0].value === undefined ? "1" : response.data.data[0].value
})
}
}
......
......@@ -240,7 +240,7 @@ export default class UnitBisnis extends Component {
if (response.data) {
if (response.data.status === "success") {
this.setState({
sizeUpload: response.data.data[0].value
sizeUpload: response.data.data[0].value === undefined ? "1" : response.data.data[0].value
})
}
}
......
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