fix(filter): avoid filtering by the strings "true/false" when enabled (#6477)

This commit is contained in:
Lucia Sarni
2020-10-08 22:52:56 +02:00
committed by GitHub
parent 1b11d5cfaa
commit aa53ec24b8
3 changed files with 45 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ export default class FilterContainer extends React.Component {
return (
<div>
{filter === null || filter === false ? null :
{filter === null || filter === false || filter === "false" ? null :
<div className="filter-container">
<Col className="filter wrapper" mobile={12}>
<input className={classNames.join(" ")} placeholder="Filter by tag" type="text"