Skip to content

Commit

Permalink
fix: Feature tags not showing up in tag selection UI (#5113)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Feb 17, 2025
1 parent 7681c2a commit 3bfcaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/web/components/modals/CreateFlag.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const CreateFlag = class extends Component {
multivariate_options: [],
}
const { allowEditDescription } = this.props
const hideTagsByType = this.props.hideTagsByType || []
const hideTags = this.props.hideTags || []
if (this.props.projectFlag) {
this.userOverridesPage(1)
}
Expand Down Expand Up @@ -107,7 +107,7 @@ const CreateFlag = class extends Component {
name,
period: 30,
selectedIdentity: null,
tags: tags?.filter((tag) => hideTagsByType.includes(tag.type)) || [],
tags: tags?.filter((tag) => !hideTags.includes(tag)) || [],
}
}

Expand Down

0 comments on commit 3bfcaa6

Please sign in to comment.