Commit fc4df094 authored by Riri Novita's avatar Riri Novita

issue loading

parent 9a5b3081
...@@ -672,7 +672,7 @@ export default class CorporateAnnualTarget extends Component { ...@@ -672,7 +672,7 @@ export default class CorporateAnnualTarget extends Component {
// this.props.getReport() // this.props.getReport()
} else { } else {
if (response.data?.message == "Please Set Up Rate Currency First") { if (response.data?.message == "Please Set Up Rate Currency First") {
this.setState({ visibleAlertSave: true }) this.setState({ visibleAlertSave: true, loading: false })
} 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") || response.data.message.includes("Token Expired")) { if (response.data.message.includes("Someone Logged In") || response.data.message.includes("Token Expired")) {
......
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