File tree 2 files changed +6
-3
lines changed
__tests__/shared/components/challenge-listing/Filters/__snapshots__
src/shared/components/challenge-listing/Filters/FiltersPanel
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,10 @@ exports[`Matches shallow shapshot 1`] = `
84
84
options = {
85
85
Array [
86
86
Object {
87
- " label " : <div >
87
+ " data " : <div >
88
88
Sample community
89
89
</div >,
90
+ " label" : " Sample community" ,
90
91
" name" : " Sample community" ,
91
92
" value" : " 123" ,
92
93
},
@@ -299,9 +300,10 @@ exports[`Matches shallow shapshot 2`] = `
299
300
options = {
300
301
Array [
301
302
Object {
302
- " label " : <div >
303
+ " data " : <div >
303
304
Sample community
304
305
</div >,
306
+ " label" : " Sample community" ,
305
307
" name" : " Sample community" ,
306
308
" value" : " 123" ,
307
309
},
Original file line number Diff line number Diff line change @@ -180,9 +180,10 @@ challenges in this sub community
180
180
181
181
const communityOps = communityFilters . filter ( community => ! community . hidden )
182
182
. map ( community => ( {
183
- label : getLabel ( community ) ,
183
+ label : community . communityName ,
184
184
value : community . communityId ,
185
185
name : community . communityName ,
186
+ data : getLabel ( community ) ,
186
187
} ) ) ;
187
188
188
189
const disableClearSaveFilterButtons = isSavingFilter || (
You can’t perform that action at this time.
0 commit comments