Commit 7af637ef authored by d.arizona's avatar d.arizona

apdet

parent 7f045ecc
...@@ -201,7 +201,11 @@ export default class FixedAssetsMovementMR extends Component { ...@@ -201,7 +201,11 @@ export default class FixedAssetsMovementMR extends Component {
} }
}) })
console.log(dataTable); console.log(dataTable);
this.setState({ dataTable, loading: false, refresh: false }) this.setState({ dataTable }, () => {
setTimeout(() => {
this.setState({loading: false, refresh: false})
}, 300);
})
} else { } else {
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false }, () => { this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false }, () => {
if (response.data.message.includes("Someone Logged In")) { if (response.data.message.includes("Someone Logged In")) {
......
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