Commit bf95f386 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

ui olpa cat

See merge request !1435
parents 19aa2c5b 3a855c6d
......@@ -226,6 +226,9 @@ export default class OutlookPA extends Component {
item.revision
]
})
dataTable.push([
5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
])
let dataTableRevision = response.data.data.map((item, index) => {
return [
item.report_id,
......@@ -233,7 +236,7 @@ export default class OutlookPA extends Component {
""
]
})
// console.log(dataTable);
console.log(dataTable);
this.setState({ dataTable, loading: false, dataTableRevision, dataForRevision: response.data.data })
} else {
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false }, () => {
......@@ -618,7 +621,7 @@ export default class OutlookPA extends Component {
visibleBS: false,
visiblePL: false,
visibleTP: false,
visibleCF: true,
visibleCF: false,
visibleCAT: true
})
}
......@@ -1362,6 +1365,7 @@ export default class OutlookPA extends Component {
name: "Action",
options: {
customBodyRender: (val, tableMeta) => {
console.log(tableMeta)
return (
<div style={{ display: 'flex' }}>
<button
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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