Skip to content

Commit

Permalink
show all non archived features when no tags are selected
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Sep 28, 2021
1 parent 314e832 commit 3e668ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/web/components/pages/FeaturesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ const FeaturesPage = class extends Component {
} if (!this.state.tags.length && this.state.includeArchived) {
return true;
}
if (!this.state.length && !flag.is_archived) {
return true;
}
if (this.state.tags.includes('') && (!flag.tags || !flag.tags.length)) {
return true;
}
Expand Down

0 comments on commit 3e668ca

Please sign in to comment.