File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
ChallengeEditor/ChallengeViewTabs Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ const ChallengeViewTabs = ({
9696 // OR if this isn't a non-self-service draft, permit launching if:
9797 // a) the current user is either the self-service copilot or is an admin AND
9898 // b) the challenge is approved
99- const canLaunch = hasBillingAccount && ! isReadOnly &&
99+ const canLaunch = enableEdit && hasBillingAccount && ! isReadOnly &&
100100 ( ( ! isSelfService && isDraft ) ||
101- ( ( isSelfServiceCopilot || enableEdit || isAdmin ) &&
101+ ( ( isSelfServiceCopilot || isAdmin ) &&
102102 challenge . status . toUpperCase ( ) === CHALLENGE_STATUS . APPROVED ) )
103103
104104 return (
Original file line number Diff line number Diff line change 6262 background-color : #eaf6fd ;
6363 border-radius : 4px 4px 0 0 ;
6464 border-bottom : 1px solid #d4d4d4 ;
65+ position : relative ;
6566
6667 .item {
6768 // @include barlow;
9495 z-index : 100 ;
9596 display : block ;
9697 position : absolute ;
97- top : 204 px ;
98+ top : 31 px ;
9899 }
99100 }
100101}
Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ const Tab = ({
7777
7878 return (
7979 < div className = { styles . tabs } >
80- < h1 > Work Manager</ h1 >
81- < hr />
8280 { tabComponent }
8381 </ div >
8482 )
You can’t perform that action at this time.
0 commit comments