Skip to content

Commit 19d51f3

Browse files
Fix the "Swift Next" filter on the status page (#1188)
1 parent 1ae046e commit 19d51f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ function _applyFilter (matchingProposals) {
790790
.filter(function (proposal) {
791791
return selectedStates.some(function (state) {
792792
if (!(proposal.status.state === '.implemented')) return true // only filter among Implemented (N.N.N)
793+
if (state === 'swift-swift-Next' && proposal.status.version === 'Next') return true // special case
793794

794795
var version = state.split(/\D+/).filter(function (s) { return s.length }).join('.')
795796

0 commit comments

Comments
 (0)