Commit a5c983ba authored by Dida Adams Arizona's avatar Dida Adams Arizona

Merge branch 'GGMAC' into 'master'

update jebol handle

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