-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(numericRefinementList) #454
Conversation
@@ -35,7 +35,14 @@ class RefinementList extends React.Component { | |||
[this.props.cssClasses.active]: facetValue.isRefined | |||
}); | |||
|
|||
let key = facetValue[this.props.facetNameKey] + '/' + facetValue.isRefined + '/' + facetValue.count; | |||
let key = facetValue[this.props.facetNameKey]; | |||
if (facetValue.count !== undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad copy/paste, you want to test facetValue. isRefined
here.
I did 2 comments, but overall very nice @maxiloc 👍 |
Wait what is docs/js/instantsearch.js? It looks like a dist/ you commited. Remove and add it to gitignore if relevant, we tried no to have dist files. |
Ah right, that was a temporary; need to be removed. |
…g refinementList component
9e6f82a
to
a29e9c7
Compare
I rebased with the 3 fix |
@@ -12453,4 +12453,4 @@ | |||
} | |||
} | |||
} | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird I did not touch this file,
Should I add the newline again ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we are good, the next shrinkwrap will just do it
Looks..Like.. LGTM! 🚀 |
@redox I am good here, since you added comments I'll let you merge, again awesome feature :D |
👍 |
This avoids `@babel/preset-env` compatibility issue.
Created a new PR, did some mess with the first one.