Commit 38f4a6c6 authored by muhammad ridwan's avatar muhammad ridwan

bug fixing v1

parent 80e2cf57
...@@ -310,7 +310,7 @@ export default class CarfmDocument extends Component { ...@@ -310,7 +310,7 @@ export default class CarfmDocument extends Component {
<div style={{padding: 20}}> <div style={{padding: 20}}>
{this.state.loading && loadingComponent && this.state.isHasAccessDocument} {this.state.loading && loadingComponent}
<Paper style={{padding: 20}}> <Paper style={{padding: 20}}>
......
...@@ -491,10 +491,10 @@ export default class CreateCarfmDoc extends Component { ...@@ -491,10 +491,10 @@ export default class CreateCarfmDoc extends Component {
type="button" type="button"
onClick={() => onClick={() =>
{ {
this.props.handleLoading(1);
this.setState({ this.setState({
saveDisable: true saveDisable: true
}); });
this.props.handleLoading(1);
setTimeout(() => { setTimeout(() => {
this.validasi() this.validasi()
console.log("vlidasi " + this.validasi()); console.log("vlidasi " + this.validasi());
......
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