Commit 7a8c0a40 authored by Riri Novita's avatar Riri Novita

update RO

parent 13ba3087
...@@ -591,7 +591,7 @@ export default class ProfitLossROO extends Component { ...@@ -591,7 +591,7 @@ export default class ProfitLossROO 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, handleDoubleClick: 0 }, () => { this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false, handleDoubleClick: 0 }, () => {
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