File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
shared/components/challenge-listing/Filters/FiltersPanel Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 9
9
"communityName" : " Blockchain Community" ,
10
10
"groupIds" : [" 20000010" ],
11
11
"hideSearch" : true ,
12
+ "hideFilter" : true ,
12
13
"logos" : [{
13
14
"img" : " /community-app-assets/themes/blockchain/logo_topcoder_with_name.svg" ,
14
15
"url" : " https://www.topcoder.com"
Original file line number Diff line number Diff line change 16
16
"url" : " https://www.topcoder.com"
17
17
}],
18
18
"hideSearch" : true ,
19
+ "hideFilter" : true ,
19
20
"menuItems" : [
20
21
{
21
22
"title" : " Home" ,
Original file line number Diff line number Diff line change 2
2
"challengeFilter" : {
3
3
"events" : [" tco19" ]
4
4
},
5
+ "hidden" : true ,
5
6
"communityId" : " tco19" ,
6
7
"communityName" : " TCO19" ,
7
8
"groupIds" : [" 20000078" ],
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ export default function FiltersPanel({
181
181
} ;
182
182
183
183
const communityOps = communityFilters . filter ( community => (
184
- ( ! community . hidden && community . groupIds && community . groupIds . length > 0 ) || community . communityName === 'All'
184
+ ( ! community . hidden && ! community . hideFilter && ! _ . isEmpty ( community . groupIds ) ) || community . communityName === 'All'
185
185
) )
186
186
. map ( community => ( {
187
187
label : community . communityName ,
You can’t perform that action at this time.
0 commit comments