Commit 738ed476 authored by r.kurnia's avatar r.kurnia

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into rifka

parents 526d9ce8 a5c983ba
...@@ -90,6 +90,7 @@ export default class CorporateAnnualTargetRO extends Component { ...@@ -90,6 +90,7 @@ export default class CorporateAnnualTargetRO extends Component {
let checkStatus = false let checkStatus = false
let checkPrevRev = false let checkPrevRev = false
console.log('skuy'); console.log('skuy');
// console.log(this.props.isApprover)
if (this.props.isApprover) { if (this.props.isApprover) {
checkApprover = true checkApprover = true
} else { } else {
...@@ -114,8 +115,8 @@ export default class CorporateAnnualTargetRO extends Component { ...@@ -114,8 +115,8 @@ export default class CorporateAnnualTargetRO extends Component {
checkStatus = false checkStatus = false
} }
// this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev }) this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev })
this.setState({viewOnly: true}) // this.setState({viewOnly: true})
} }
getItemHierarki() { getItemHierarki() {
......
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