Commit 470a5d4e authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-' into 'master'

papalipapali

See merge request !611
parents 7df99554 6a9f9e77
......@@ -200,14 +200,17 @@ export default class BudgetTahunan extends Component {
item.revision
]
})
let dataTableRevision = response.data.data.map((item, index) => {
return [
let dataTableRevision = []
response.data.data.map((item, index) => {
if (item.report_name !== 'Cash Flow') {
dataTableRevision.push([
item.report_id,
item.report_name === 'CAT' ? 'Corporate Annual Target' : item.report_name,
""
]
])
}
})
// console.log(dataTable);
// console.log(dataTableRevision);
this.setState({ dataTable, loading: false, dataTableRevision, dataForRevision: response.data.data }, ()=> {
document.body.style.overflow = 'unset';
})
......
This diff is collapsed.
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