Commit 06b112bc authored by Riri Novita's avatar Riri Novita

filter periode

parent df8519bd
...@@ -100,6 +100,7 @@ class ReportProgress extends Component { ...@@ -100,6 +100,7 @@ class ReportProgress extends Component {
MB.push({ name: String(i + 1), value: i + 1}) MB.push({ name: String(i + 1), value: i + 1})
} }
} }
console.log(MB);
let defaultPropsMB = { let defaultPropsMB = {
options: MB, options: MB,
...@@ -108,7 +109,8 @@ class ReportProgress extends Component { ...@@ -108,7 +109,8 @@ class ReportProgress extends Component {
this.setState({ this.setState({
listPeriodeMB: defaultPropsMB, listPeriodeMB: defaultPropsMB,
periodeMB: MB[MB.length - 1], // periodeMB: MB[MB.length - 1],
periodeMB: MB[MB.length - 2],
}, () => { }, () => {
this.getReportType() this.getReportType()
// console.log(this.state.listMonth) // console.log(this.state.listMonth)
......
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