File tree 5 files changed +10
-3
lines changed
__tests__/shared/components/challenge-listing/Filters/__snapshots__
src/shared/components/challenge-listing
Listing/ReviewOpportunityBucket
5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ exports[`Matches shallow shapshot 1`] = `
117
117
/>
118
118
</label >
119
119
<Select
120
+ disabled = { false }
120
121
id = " type-select"
121
122
multi = { true }
122
123
onChange = { [Function ]}
@@ -312,6 +313,7 @@ exports[`Matches shallow shapshot 2`] = `
312
313
/>
313
314
</label >
314
315
<Select
316
+ disabled = { false }
315
317
id = " type-select"
316
318
multi = { true }
317
319
onChange = { [Function ]}
Original file line number Diff line number Diff line change @@ -266,8 +266,9 @@ export default function FiltersPanel({
266
266
options = { validTypes . map ( mapTypes ) }
267
267
simpleValue
268
268
value = {
269
- filterState . types ? filterState . types . join ( ',' ) : null
269
+ ( filterState . types && ! isReviewOpportunitiesBucket ) ? filterState . types . join ( ',' ) : null
270
270
}
271
+ disabled = { isReviewOpportunitiesBucket }
271
272
/>
272
273
</ div >
273
274
{ /* Only shown when the Review Opportunity bucket is selected */ }
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ $panel-radius-4: $corner-radius * 2;
462
462
463
463
.filter.review-type {
464
464
// margin - (.date.input width + .date.text width) * 2 - filters.label width
465
- @include calc (width , ' 50% - 30px - (14px + 114px ) * 2 - 96px' );
465
+ @include calc (width , ' 50% - 45px - (12px + 112px ) * 2 - 96px' );
466
466
467
467
order : 3 ; // Show after Date Picker when in lg screen mode
468
468
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default function ReviewOpportunityBucket({
54
54
const cards = filteredOpportunities . map ( item => (
55
55
< ReviewOpportunityCard
56
56
challengesUrl = { challengesUrl }
57
- challengeType = { _ . find ( challengeTypes , { name : item . type } ) }
57
+ challengeType = { _ . find ( challengeTypes , { name : item . challenge . type } ) || [ ] }
58
58
expandedTags = { expandedTags }
59
59
expandTag = { expandTag }
60
60
onTechTagClicked = { tag => setFilterState ( { tags : [ tag ] } ) }
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ function ReviewOpportunityCard({
55
55
return (
56
56
< div styleName = "reviewOpportunityCard" >
57
57
< div styleName = "left-panel" >
58
+ { /* START - DISABLED UNTIL REVIEW OPPORTUNITY RECEIVE UPDATE TO API V5 */
59
+ false
60
+ && (
58
61
< div styleName = "challenge-track" >
59
62
< TrackAbbreviationTooltip
60
63
track = { track }
@@ -69,6 +72,7 @@ function ReviewOpportunityCard({
69
72
</ span >
70
73
</ TrackAbbreviationTooltip >
71
74
</ div >
75
+ ) /* END - DISABLED UNTIL REVIEW OPPORTUNITY RECEIVE UPDATE TO API V5 */ }
72
76
< div styleName = "challenge-details" >
73
77
< Link
74
78
to = { `${ challengesUrl } /${ challenge . id } ` }
You can’t perform that action at this time.
0 commit comments