Commit b65f5688 authored by Riri Novita's avatar Riri Novita

Merge branch 'ENV-DEV' into 'ENV-DEPLOYMENT'

perbaikan popup remider

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