Skip to content

Commit bf4c5f8

Browse files
Merge pull request #5110 from topcoder-platform/issue-5083-pkdurlabhji
issue 5083 fix
2 parents 1ced930 + 2719939 commit bf4c5f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import SwitchWithLabel from 'components/SwitchWithLabel';
77
import { challenge as challengeUtils } from 'topcoder-react-lib';
88
// import { COMPETITION_TRACKS as TRACKS } from 'utils/tc';
99
import _ from 'lodash';
10+
import { BUCKETS } from 'utils/challenge-listing/buckets';
1011

1112
// import localStorage from 'localStorage';
1213
import ChallengeSearchBar from './ChallengeSearchBar';
@@ -49,6 +50,7 @@ export default function ChallengeFilters({
4950
if (filterState.events && filterState.events.length) filterRulesCount += 1;
5051
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
5152
if (filterState.types && filterState.types.length) filterRulesCount += 1;
53+
if (activeBucket === BUCKETS.ALL && filterState.status && filterState.status !== 'All') filterRulesCount += 1;
5254
if (filterState.endDateStart || filterState.startDateEnd) {
5355
filterRulesCount += 1;
5456
}

0 commit comments

Comments
 (0)