Commit e45a6202 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

rapiin tabel historical dan loading

See merge request !1125
parents 0db3ee75 57cc0287
...@@ -42,7 +42,7 @@ export default class SummaryOfTriputra extends Component { ...@@ -42,7 +42,7 @@ export default class SummaryOfTriputra extends Component {
componentDidMount() { componentDidMount() {
// this.getDetailUser() // this.getDetailUser()
this.setState({ report: this.state.reportType[0], loading: true }, () => { this.setState({ report: this.state.reportType[0], loading: false }, () => {
console.log(this.state.report); console.log(this.state.report);
this.getPeriode() this.getPeriode()
}) })
...@@ -195,6 +195,7 @@ export default class SummaryOfTriputra extends Component { ...@@ -195,6 +195,7 @@ export default class SummaryOfTriputra extends Component {
// } // }
getDataTable() { getDataTable() {
this.setState({ loading: true })
let payload = { let payload = {
"report_type": this.state.report.key, "report_type": this.state.report.key,
"periode": this.state.periode.periode, "periode": this.state.periode.periode,
......
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