Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
738ed476
Commit
738ed476
authored
Apr 21, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
526d9ce8
a5c983ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+3
-2
No files found.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
738ed476
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment