File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed
components/ChallengesComponent Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -657,9 +657,9 @@ class ChallengeList extends Component {
657
657
</ div >
658
658
< div className = { cn ( styles . col4 , styles . sortable ) } > Forums</ div >
659
659
< div className = { cn ( styles . col3 , styles . sortable ) } > Status</ div >
660
- < div className = { styles . col6 } > </ div >
661
- < div className = { styles . col6 } > </ div >
662
- < div className = { styles . col6 } > </ div >
660
+ < div className = { styles . col6 } / >
661
+ < div className = { styles . col6 } / >
662
+ < div className = { styles . col6 } / >
663
663
</ div >
664
664
) }
665
665
{ challenges . length > 0 && (
Original file line number Diff line number Diff line change 3
3
.challenges {
4
4
width : 100% ;
5
5
box-sizing : border-box ;
6
- padding : 30px ;
6
+ padding : 20 px 30 px 30 px 30px ;
7
7
}
8
8
9
9
.title {
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ class Challenges extends Component {
150
150
auth,
151
151
metadata
152
152
} = this . props
153
- const { searchProjectName, onlyMyProjects } = this . state
153
+ const { searchProjectName } = this . state
154
154
const { challengeTypes = [ ] } = metadata
155
155
const projectInfo = _ . find ( projects , { id : activeProjectId } ) || { }
156
156
const projectComponents =
@@ -167,7 +167,7 @@ class Challenges extends Component {
167
167
) )
168
168
return (
169
169
< Fragment >
170
- < div className = { styles . projectSearch } >
170
+ < div className = { ! dashboard && styles . projectSearch } >
171
171
{ ! selfService && (
172
172
< div className = { styles . projectSearchHeader } >
173
173
{ ! dashboard && < label > Switch Project</ label > }
@@ -180,13 +180,6 @@ class Challenges extends Component {
180
180
value = { searchProjectName }
181
181
/>
182
182
) }
183
- < input
184
- type = 'checkbox'
185
- label = 'My Projects'
186
- checked = { onlyMyProjects }
187
- onChange = { this . toggleMyProjects }
188
- />
189
- < label > My Projects</ label >
190
183
</ div >
191
184
) }
192
185
{ ! dashboard && activeProjectId === - 1 && ! selfService && (
You can’t perform that action at this time.
0 commit comments