Commit 9fe76c59 authored by Riri Novita's avatar Riri Novita

perbaikan popup remider

parent 6c86a8fb
......@@ -48,7 +48,7 @@ export default class TableProgressReport extends Component {
}
handleSendEmail() {
this.setState({ loading: true })
this.setState({ loading: true, visiblePopup: false, })
let data = this.props
let q1 = data.reportType === 2 && data.quarter === "Q1"
let q2 = data.reportType === 2 && data.quarter === "Q2"
......@@ -81,7 +81,7 @@ export default class TableProgressReport extends Component {
} else if (data.reportType === 3) {
this.props.getMonitoringOLPA(payloadGetData)
}
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'success', visiblePopup: false, loading: false })
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'success', loading: false })
// this.setState({ visiblePopup: false, alert: true, messageAlert: response.data.message, tipeAlert: 'success' }, () => {
// setTimeout(() => {
// if (data.reportType === 0 ) {
......
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