Commit 2bc6127e authored by faisalhamdi's avatar faisalhamdi

editable fam

parent a7588044
...@@ -162,9 +162,9 @@ export default class FixedAssetsMovement extends Component { ...@@ -162,9 +162,9 @@ export default class FixedAssetsMovement extends Component {
} }
} }
}) })
this.setState({ dataTable, loading: false, buttonError: true }) this.setState({ dataTable, loading: false, buttonError: true, editable: true })
} else { } else {
this.setState({ dataTable, loading: false, buttonError: true }) this.setState({ dataTable, loading: false, buttonError: true, editable: true })
} }
}) })
} }
...@@ -2129,7 +2129,6 @@ export default class FixedAssetsMovement extends Component { ...@@ -2129,7 +2129,6 @@ export default class FixedAssetsMovement extends Component {
onClick={() => { onClick={() => {
this.setState({ loading: true }, () => { this.setState({ loading: true }, () => {
setTimeout(() => { setTimeout(() => {
// this.setState({ loading: false, buttonError: false, editable: true })
this.handleValidate() this.handleValidate()
}, 100); }, 100);
}) })
......
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