From 3e668cabf1bfbc1f1f0ff005598812798aabd48a Mon Sep 17 00:00:00 2001 From: kyle-ssg Date: Tue, 28 Sep 2021 22:48:56 +0100 Subject: [PATCH] show all non archived features when no tags are selected --- frontend/web/components/pages/FeaturesPage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/web/components/pages/FeaturesPage.js b/frontend/web/components/pages/FeaturesPage.js index 41315216ff35..64a3ff729b0f 100644 --- a/frontend/web/components/pages/FeaturesPage.js +++ b/frontend/web/components/pages/FeaturesPage.js @@ -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; }