Commit 5961ac31 authored by r.kurnia's avatar r.kurnia

cat olpa

parent 96c2e08b
...@@ -226,9 +226,9 @@ export default class OutlookPA extends Component { ...@@ -226,9 +226,9 @@ export default class OutlookPA extends Component {
item.revision item.revision
] ]
}) })
dataTable.push([ // dataTable.push([
5, "Corporate Annual Target", 0, "not-yet", 39, false, 0 // 5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
]) // ])
let dataTableRevision = response.data.data.map((item, index) => { let dataTableRevision = response.data.data.map((item, index) => {
return [ return [
item.report_id, item.report_id,
...@@ -615,7 +615,8 @@ export default class OutlookPA extends Component { ...@@ -615,7 +615,8 @@ export default class OutlookPA extends Component {
visibleCF: true, visibleCF: true,
visibleCAT: false visibleCAT: false
}) })
} else if (item === 'Corporate Annual Target') { // } else if (item === 'Corporate Annual Target') {
} else if (item === 'CAT') {
this.setState({ this.setState({
visibleOutlookPA: false, visibleOutlookPA: false,
visibleBS: false, visibleBS: false,
...@@ -1365,7 +1366,7 @@ export default class OutlookPA extends Component { ...@@ -1365,7 +1366,7 @@ export default class OutlookPA extends Component {
name: "Action", name: "Action",
options: { options: {
customBodyRender: (val, tableMeta) => { customBodyRender: (val, tableMeta) => {
console.log(tableMeta) // console.log(tableMeta)
return ( return (
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<button <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