Skip to content

Commit 1013189

Browse files
committed
Merge branch 'issue-231' into develop
2 parents ce119b9 + dee2101 commit 1013189

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/shared/utils/challenge-listing/filter.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ function filterByText(challenge, state) {
136136

137137
function filterByTrack(challenge, state) {
138138
if (!state.tracks) return true;
139+
140+
/* Development challenges having Data Science tech tag, still should be
141+
* included into data science track. */
142+
if (state.tracks[COMPETITION_TRACKS.DATA_SCIENCE]
143+
&& _.includes(challenge.technologies, 'Data Science')) {
144+
return true;
145+
}
146+
139147
return _.keys(state.tracks).some(track => challenge.communities.has(track));
140148
}
141149

0 commit comments

Comments
 (0)