Commit a33d80c3 authored by d.arizona's avatar d.arizona

apdet

parent c893bbed
...@@ -251,7 +251,7 @@ class HomePage extends Component { ...@@ -251,7 +251,7 @@ class HomePage extends Component {
api.create().getListUserSubcoMR(this.state.month.month_id, this.state.periodeMR.value).then((response) => { api.create().getListUserSubcoMR(this.state.month.month_id, this.state.periodeMR.value).then((response) => {
let valueSubmitMR = 0 let valueSubmitMR = 0
let dataMR = [] let dataMR = []
// console.log(response) console.log(response)
if (response.data) { if (response.data) {
if (response.data.status === "success") { if (response.data.status === "success") {
response.data.data.map((item, index) => { response.data.data.map((item, index) => {
...@@ -744,6 +744,7 @@ class HomePage extends Component { ...@@ -744,6 +744,7 @@ class HomePage extends Component {
{...this.state.listMonth} {...this.state.listMonth}
id="month" id="month"
onChange={(event, newInputValue) => this.setState({ month: newInputValue, loading: true }, () => { onChange={(event, newInputValue) => this.setState({ month: newInputValue, loading: true }, () => {
this.getListUserSubcoMR()
// if (this.state.isApprover === true) { // if (this.state.isApprover === true) {
// this.getCompanySubmitted() // this.getCompanySubmitted()
// } else { // } else {
......
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