File tree 2 files changed +10
-7
lines changed
__tests__/shared/components/challenge-listing/Filters/__snapshots__
src/shared/components/challenge-listing/Filters/FiltersPanel
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,12 @@ exports[`Matches shallow shapshot 1`] = `
84
84
options = {
85
85
Array [
86
86
Object {
87
- " label" : <div >
88
- Sample community
89
- </div >,
87
+ " label" : " Sample community" ,
90
88
" name" : " Sample community" ,
91
89
" value" : " 123" ,
90
+ " data" : <div >
91
+ Sample community
92
+ </div >
92
93
},
93
94
]
94
95
}
@@ -299,11 +300,12 @@ exports[`Matches shallow shapshot 2`] = `
299
300
options = {
300
301
Array [
301
302
Object {
302
- " label" : <div >
303
- Sample community
304
- </div >,
303
+ " label" : " Sample community" ,
305
304
" name" : " Sample community" ,
306
305
" value" : " 123" ,
306
+ " data" : <div >
307
+ Sample community
308
+ </div >
307
309
},
308
310
]
309
311
}
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