Commit d570018f authored by Deni Rinaldi's avatar Deni Rinaldi

sizeupload

parent c6b54dea
......@@ -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